summaryrefslogtreecommitdiffstats
path: root/iptables/nft.c
diff options
context:
space:
mode:
authorPablo Neira Ayuso <pablo@netfilter.org>2019-05-19 13:04:13 +0200
committerPablo Neira Ayuso <pablo@netfilter.org>2019-05-19 18:56:24 +0200
commitf316ad1aa6b0a17ca6961f44f95fc31d0159bc36 (patch)
tree40ef4ba09bbbe7315634ab6659ba2fdd0c7bc35f /iptables/nft.c
parentabe42160ca92b0f140bf0fba80120e583319bc5c (diff)
nft: statify nft_rebuild_cache()
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
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 167237ab..6c6cd787 100644
--- a/iptables/nft.c
+++ b/iptables/nft.c
@@ -1540,7 +1540,7 @@ void nft_build_cache(struct nft_handle *h)
__nft_build_cache(h);
}
-void nft_rebuild_cache(struct nft_handle *h)
+static void nft_rebuild_cache(struct nft_handle *h)
{
if (!h->have_cache)
flush_chain_cache(h, NULL);