summaryrefslogtreecommitdiffstats
path: root/iptables/nft.c
diff options
context:
space:
mode:
Diffstat (limited to 'iptables/nft.c')
-rw-r--r--iptables/nft.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/iptables/nft.c b/iptables/nft.c
index f9e53316..daf08604 100644
--- a/iptables/nft.c
+++ b/iptables/nft.c
@@ -816,7 +816,7 @@ void nft_fini(struct nft_handle *h)
list_for_each_entry_safe(cmd, next, &h->cmd_list, head)
nft_cmd_free(cmd);
- flush_chain_cache(h, NULL);
+ nft_release_cache(h);
mnl_socket_close(h->nl);
}