summaryrefslogtreecommitdiffstats
path: root/iptables/nft-ipv6.c
diff options
context:
space:
mode:
Diffstat (limited to 'iptables/nft-ipv6.c')
-rw-r--r--iptables/nft-ipv6.c10
1 files changed, 1 insertions, 9 deletions
diff --git a/iptables/nft-ipv6.c b/iptables/nft-ipv6.c
index ddaeb2b4..29b50878 100644
--- a/iptables/nft-ipv6.c
+++ b/iptables/nft-ipv6.c
@@ -367,14 +367,6 @@ static void nft_ipv6_post_parse(int command, struct iptables_command_state *cs,
" source or destination IP addresses");
}
-static bool nft_ipv6_rule_find(struct nft_family_ops *ops,
- struct nftnl_rule *r, void *data)
-{
- struct iptables_command_state *cs = data;
-
- return nft_ipv46_rule_find(ops, r, cs);
-}
-
static void nft_ipv6_save_counters(const void *data)
{
const struct iptables_command_state *cs = data;
@@ -461,6 +453,6 @@ struct nft_family_ops nft_family_ops_ipv6 = {
.parse_target = nft_ipv46_parse_target,
.rule_to_cs = nft_rule_to_iptables_command_state,
.clear_cs = nft_clear_iptables_command_state,
- .rule_find = nft_ipv6_rule_find,
+ .rule_find = nft_ipv46_rule_find,
.xlate = nft_ipv6_xlate,
};