diff options
author | Phil Sutter <phil@nwl.cc> | 2020-05-08 15:40:52 +0200 |
---|---|---|
committer | Phil Sutter <phil@nwl.cc> | 2020-05-18 17:40:41 +0200 |
commit | 5906bcf10d0eda9d08c98a618ea7c8ade0018e0c (patch) | |
tree | d0192984a9b06b366468869b15f3dbaec0f33322 /iptables/nft-ipv4.c | |
parent | e7b6180fcf9061852a06f6d98e7618f44fd0eeec (diff) |
nft: Drop save_counters callback from family_ops
All families use the same callback function, just fold it into the sole
place it's called.
Signed-off-by: Phil Sutter <phil@nwl.cc>
Diffstat (limited to 'iptables/nft-ipv4.c')
-rw-r--r-- | iptables/nft-ipv4.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/iptables/nft-ipv4.c b/iptables/nft-ipv4.c index ba789da0..afdecf97 100644 --- a/iptables/nft-ipv4.c +++ b/iptables/nft-ipv4.c @@ -450,7 +450,6 @@ struct nft_family_ops nft_family_ops_ipv4 = { .print_header = print_header, .print_rule = nft_ipv4_print_rule, .save_rule = nft_ipv4_save_rule, - .save_counters = save_counters, .save_chain = nft_ipv46_save_chain, .proto_parse = nft_ipv4_proto_parse, .post_parse = nft_ipv4_post_parse, |