diff options
author | Giuseppe Longo <giuseppelng@gmail.com> | 2014-02-10 16:49:33 +0100 |
---|---|---|
committer | Pablo Neira Ayuso <pablo@netfilter.org> | 2014-02-11 13:57:23 +0100 |
commit | 8877968858a8dd6b7ae096988d57a7511c81733d (patch) | |
tree | 4bbab073014c98f080ed93f819502a84c79a4c83 /iptables/nft.h | |
parent | 7851975e5055381d30f0788d90671485695928e1 (diff) |
nft: adds save_matches_and_target
This patch permits to save matches and target for ip/ip6/arp/eb
family, required for xtables-events.
Also, generalizes nft_rule_print_save to be reused for all protocol
families.
Signed-off-by: Giuseppe Longo <giuseppelng@gmail.com>
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'iptables/nft.h')
-rw-r--r-- | iptables/nft.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/iptables/nft.h b/iptables/nft.h index 22af66e2..8670f343 100644 --- a/iptables/nft.h +++ b/iptables/nft.h @@ -114,7 +114,7 @@ enum nft_rule_print { NFT_RULE_DEL, }; -void nft_rule_print_save(const struct iptables_command_state *cs, +void nft_rule_print_save(const void *data, struct nft_rule *r, enum nft_rule_print type, unsigned int format); |