diff options
author | Jan Engelhardt <jengelh@medozas.de> | 2008-04-15 11:48:25 +0200 |
---|---|---|
committer | Patrick McHardy <kaber@trash.net> | 2008-04-15 14:01:06 +0200 |
commit | 8b7c64d6ba156a99008fcd810cba874c73294333 (patch) | |
tree | 47489e2ac7ae083087ec7f0675f1c2e5fc2b4d7a /extensions/libipt_ah.c | |
parent | ddcb288316c942a5b8de33edd5f03318db8906b7 (diff) | |
download | platform_external_iptables-8b7c64d6ba156a99008fcd810cba874c73294333.tar.gz platform_external_iptables-8b7c64d6ba156a99008fcd810cba874c73294333.tar.bz2 platform_external_iptables-8b7c64d6ba156a99008fcd810cba874c73294333.zip |
Remove old functions, constants
Diffstat (limited to 'extensions/libipt_ah.c')
-rw-r--r-- | extensions/libipt_ah.c | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/extensions/libipt_ah.c b/extensions/libipt_ah.c index 2555b5d8..182b51a3 100644 --- a/extensions/libipt_ah.c +++ b/extensions/libipt_ah.c @@ -12,10 +12,9 @@ static void ah_help(void) { printf( -"AH v%s options:\n" +"ah match options:\n" " --ahspi [!] spi[:spi]\n" -" match spi (range)\n", -IPTABLES_VERSION); +" match spi (range)\n"); } static const struct option ah_opts[] = { @@ -156,11 +155,12 @@ static void ah_save(const void *ip, const struct xt_entry_match *match) } -static struct iptables_match ah_match = { +static struct xtables_match ah_mt_reg = { .name = "ah", - .version = IPTABLES_VERSION, - .size = IPT_ALIGN(sizeof(struct ipt_ah)), - .userspacesize = IPT_ALIGN(sizeof(struct ipt_ah)), + .version = XTABLES_VERSION, + .family = PF_INET, + .size = XT_ALIGN(sizeof(struct ipt_ah)), + .userspacesize = XT_ALIGN(sizeof(struct ipt_ah)), .help = ah_help, .init = ah_init, .parse = ah_parse, @@ -172,5 +172,5 @@ static struct iptables_match ah_match = { void _init(void) { - register_match(&ah_match); + xtables_register_match(&ah_mt_reg); } |