diff options
Diffstat (limited to 'extensions/libipt_tcp.c')
-rw-r--r-- | extensions/libipt_tcp.c | 28 |
1 files changed, 14 insertions, 14 deletions
diff --git a/extensions/libipt_tcp.c b/extensions/libipt_tcp.c index 37613ac..5751500 100644 --- a/extensions/libipt_tcp.c +++ b/extensions/libipt_tcp.c @@ -423,20 +423,20 @@ static void save(const struct ipt_ip *ip, const struct ipt_entry_match *match) } } -static -struct iptables_match tcp -= { NULL, - "tcp", - IPTABLES_VERSION, - IPT_ALIGN(sizeof(struct ipt_tcp)), - IPT_ALIGN(sizeof(struct ipt_tcp)), - &help, - &init, - &parse, - &final_check, - &print, - &save, - opts }; +static struct iptables_match tcp = { + .next = NULL, + .name = "tcp", + .version = IPTABLES_VERSION, + .size = IPT_ALIGN(sizeof(struct ipt_tcp)), + .userspacesize = IPT_ALIGN(sizeof(struct ipt_tcp)), + .help = &help, + .init = &init, + .parse = &parse, + .final_check = &final_check, + .print = &print, + .save = &save, + .extra_opts = opts +}; void _init(void) |