diff options
Diffstat (limited to 'extensions/libipt_ah.c')
-rw-r--r-- | extensions/libipt_ah.c | 27 |
1 files changed, 13 insertions, 14 deletions
diff --git a/extensions/libipt_ah.c b/extensions/libipt_ah.c index 1e583989..443c9f82 100644 --- a/extensions/libipt_ah.c +++ b/extensions/libipt_ah.c @@ -168,20 +168,19 @@ static void save(const struct ipt_ip *ip, const struct ipt_entry_match *match) } -static -struct iptables_match ah -= { NULL, - "ah", - IPTABLES_VERSION, - IPT_ALIGN(sizeof(struct ipt_ah)), - IPT_ALIGN(sizeof(struct ipt_ah)), - &help, - &init, - &parse, - &final_check, - &print, - &save, - opts +static struct iptables_match ah = { + .next = NULL, + .name = "ah", + .version = IPTABLES_VERSION, + .size = IPT_ALIGN(sizeof(struct ipt_ah)), + .userspacesize = IPT_ALIGN(sizeof(struct ipt_ah)), + .help = &help, + .init = &init, + .parse = &parse, + .final_check = &final_check, + .print = &print, + .save = &save, + .extra_opts = opts }; void |