X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=extensions%2Flibipt_esp.c;fp=extensions%2Flibipt_esp.c;h=4abfba307a0281b9f588edaae3441db0d874a095;hb=6afea0b41dfbc3824956d11d960ad80097218feb;hp=531fdd112ad389274f1be8bff3d7491fcd7fc17d;hpb=f7b70cf9e00324b89b02de213bcd0dde7044d035;p=iptables.git diff --git a/extensions/libipt_esp.c b/extensions/libipt_esp.c index 531fdd1..4abfba3 100644 --- a/extensions/libipt_esp.c +++ b/extensions/libipt_esp.c @@ -168,20 +168,19 @@ static void save(const struct ipt_ip *ip, const struct ipt_entry_match *match) } -static -struct iptables_match esp -= { NULL, - "esp", - IPTABLES_VERSION, - IPT_ALIGN(sizeof(struct ipt_esp)), - IPT_ALIGN(sizeof(struct ipt_esp)), - &help, - &init, - &parse, - &final_check, - &print, - &save, - opts +static struct iptables_match esp = { + .next = NULL, + .name = "esp", + .version = IPTABLES_VERSION, + .size = IPT_ALIGN(sizeof(struct ipt_esp)), + .userspacesize = IPT_ALIGN(sizeof(struct ipt_esp)), + .help = &help, + .init = &init, + .parse = &parse, + .final_check = &final_check, + .print = &print, + .save = &save, + .extra_opts = opts }; void