.option_offset = 0,
.program_version = "4",
.orig_opts = base_opts,
+#if XTABLES_VERSION_CODE > 10
+ .compat_rev = xtables_compatible_revision,
+#endif
};
static struct xtables_globals xtg6 = {
.option_offset = 0,
.program_version = "6",
.orig_opts = base_opts,
+#if XTABLES_VERSION_CODE > 10
+ .compat_rev = xtables_compatible_revision,
+#endif
};
static struct {
{
struct xtables_target *t;
- if (is_chain(r->h, name))
+ if (is_chain(r->h, name)) {
+ t = xtables_find_target(XT_STANDARD_TARGET, XTF_DONT_LOAD);
+
+ if (t)
+ return t;
+
+ load_extension(r->h, "standard");
return xtables_find_target(XT_STANDARD_TARGET, XTF_LOAD_MUST_SUCCEED);
+ }
t = xtables_find_target(name, XTF_DONT_LOAD);