Adds nft_arp_save_firewall to arp family. (Avoids the segfault in xtables-events) Signed-off-by: Giuseppe Longo <giuseppelng@xxxxxxxxx> --- iptables/nft-arp.c | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/iptables/nft-arp.c b/iptables/nft-arp.c index 1710136..bbb168d 100644 --- a/iptables/nft-arp.c +++ b/iptables/nft-arp.c @@ -570,6 +570,14 @@ after_devdst: fputc('\n', stdout); } +static void nft_arp_save_firewall(const void *data, + unsigned int format) +{ + const struct arpt_entry *fw = data; + + return; +} + static bool nft_arp_is_same(const void *data_a, const void *data_b) { @@ -643,6 +651,7 @@ struct nft_family_ops nft_family_ops_arp = { .parse_payload = nft_arp_parse_payload, .parse_immediate = nft_arp_parse_immediate, .print_firewall = nft_arp_print_firewall, + .save_firewall = nft_arp_save_firewall, .post_parse = NULL, .rule_find = nft_arp_rule_find, .parse_target = nft_arp_parse_target, -- 1.8.1.5 -- To unsubscribe from this list: send the line "unsubscribe netfilter-devel" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html