From e224f0b10ef01e3e2081054e7fa4f64601726646 Mon Sep 17 00:00:00 2001 From: Phil Sutter Date: Wed, 15 Nov 2023 16:58:15 +0100 Subject: xshared: Turn command_default() into a callback Ebtables' variant is pretty different since all extensions are loaded up front and some targets serve as "watcher" extensions, so let variants specify the function to call for extension parameters. Signed-off-by: Phil Sutter --- iptables/nft-ipv6.c | 1 + 1 file changed, 1 insertion(+) (limited to 'iptables/nft-ipv6.c') diff --git a/iptables/nft-ipv6.c b/iptables/nft-ipv6.c index 4bf4f54f..b1b58910 100644 --- a/iptables/nft-ipv6.c +++ b/iptables/nft-ipv6.c @@ -345,6 +345,7 @@ struct nft_family_ops nft_family_ops_ipv6 = { .post_parse = ipv6_post_parse, .option_name = ip46t_option_name, .option_invert = ip46t_option_invert, + .command_default = command_default, }, .rule_to_cs = nft_rule_to_iptables_command_state, .clear_cs = xtables_clear_iptables_command_state, -- cgit v1.2.3