From f3b772c10b782196060fe39ca6da142ba75e43d9 Mon Sep 17 00:00:00 2001 From: Phil Sutter Date: Thu, 19 Jul 2018 18:32:05 +0200 Subject: xtables: introduce save_chain callback In preparation for ebtables-save implementation, introduce a callback for convenient per-family formatting of chains in save output. Signed-off-by: Phil Sutter Signed-off-by: Florian Westphal --- 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 6aa913ed..a33d4573 100644 --- a/iptables/nft-ipv6.c +++ b/iptables/nft-ipv6.c @@ -440,6 +440,7 @@ struct nft_family_ops nft_family_ops_ipv6 = { .print_rule = nft_ipv6_print_rule, .save_rule = nft_ipv6_save_rule, .save_counters = save_counters, + .save_chain = nft_ipv46_save_chain, .proto_parse = nft_ipv6_proto_parse, .post_parse = nft_ipv6_post_parse, .parse_target = nft_ipv46_parse_target, -- cgit v1.2.3