summaryrefslogtreecommitdiffstats
path: root/iptables/nft-ipv6.c
diff options
context:
space:
mode:
authorPhil Sutter <phil@nwl.cc>2023-11-19 12:23:47 +0100
committerPhil Sutter <phil@nwl.cc>2023-12-05 16:35:37 +0100
commit6e870112174289840867605a245ea07d5f704e44 (patch)
tree9b2924bfa63623ec8790daf8914fb6d65cf06a78 /iptables/nft-ipv6.c
parente224f0b10ef01e3e2081054e7fa4f64601726646 (diff)
xshared: Introduce print_help callback (again)
Prep work for ebtables parser to use do_parse(). Adding more special casing to xtables_printhelp() causes a mess, so work with a callback again. Signed-off-by: Phil Sutter <phil@nwl.cc>
Diffstat (limited to 'iptables/nft-ipv6.c')
-rw-r--r--iptables/nft-ipv6.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/iptables/nft-ipv6.c b/iptables/nft-ipv6.c
index b1b58910..e4b1714d 100644
--- a/iptables/nft-ipv6.c
+++ b/iptables/nft-ipv6.c
@@ -346,6 +346,7 @@ struct nft_family_ops nft_family_ops_ipv6 = {
.option_name = ip46t_option_name,
.option_invert = ip46t_option_invert,
.command_default = command_default,
+ .print_help = xtables_printhelp,
},
.rule_to_cs = nft_rule_to_iptables_command_state,
.clear_cs = xtables_clear_iptables_command_state,