X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=extensions%2Flibipt_ah.c;fp=extensions%2Flibipt_ah.c;h=443c9f8286b691e8340c4676a72683b8afcfded1;hb=6afea0b41dfbc3824956d11d960ad80097218feb;hp=1e583989a9a472cc86874a9667fc8cec55bdbedd;hpb=f7b70cf9e00324b89b02de213bcd0dde7044d035;p=iptables.git diff --git a/extensions/libipt_ah.c b/extensions/libipt_ah.c index 1e58398..443c9f8 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