summaryrefslogtreecommitdiffstats
path: root/extensions/libipt_rpc.c
diff options
context:
space:
mode:
Diffstat (limited to 'extensions/libipt_rpc.c')
-rw-r--r--extensions/libipt_rpc.c25
1 files changed, 13 insertions, 12 deletions
diff --git a/extensions/libipt_rpc.c b/extensions/libipt_rpc.c
index 7fb05866..07177959 100644
--- a/extensions/libipt_rpc.c
+++ b/extensions/libipt_rpc.c
@@ -352,18 +352,19 @@ static void save(const struct ipt_ip *ip, const struct ipt_entry_match *match)
}
-static struct iptables_match rpcstruct = { NULL,
- "rpc",
- IPTABLES_VERSION,
- IPT_ALIGN(sizeof(struct ipt_rpc_info)),
- IPT_ALIGN(sizeof(struct ipt_rpc_info)),
- &help,
- &init,
- &parse,
- &final_check,
- &print,
- &save,
- opts
+static struct iptables_match rpcstruct = {
+ .next = NULL,
+ .name = "rpc",
+ .version = IPTABLES_VERSION,
+ .size = IPT_ALIGN(sizeof(struct ipt_rpc_info)),
+ .userspacesize = IPT_ALIGN(sizeof(struct ipt_rpc_info)),
+ .help = &help,
+ .init = &init,
+ .parse = &parse,
+ .final_check = &final_check,
+ .print = &print,
+ .save = &save,
+ .extra_opts = opts
};