diff options
author | Ralph Sennhauser <ralph.sennhauser@gmail.com> | 2016-11-04 14:41:10 +0100 |
---|---|---|
committer | Jo-Philipp Wich <jo@mein.io> | 2016-11-04 14:43:56 +0100 |
commit | dd013720b42d6df91176dc9e87f815dcd5d69519 (patch) | |
tree | 42ab1506205f80ff7833626476dd8c8db05b1dc0 /iptables.c | |
parent | 097282eace13feb4a115b55d497588bf2b550f62 (diff) | |
download | firewall3-dd013720b42d6df91176dc9e87f815dcd5d69519.tar.gz |
iptables: add support for version 1.6.0
Account for the struct xtables_globals change and add API version 11 to
the supported APIs.
Signed-off-by: Ralph Sennhauser <ralph.sennhauser@gmail.com>
Diffstat (limited to 'iptables.c')
-rw-r--r-- | iptables.c | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -29,12 +29,18 @@ static struct xtables_globals xtg = { .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 { |