summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorPhil Sutter <phil@nwl.cc>2019-06-07 19:21:20 +0200
committerPablo Neira Ayuso <pablo@netfilter.org>2019-06-07 23:54:51 +0200
commiteecfd96ea3ca8207a1fc28cd1e845c177be59d85 (patch)
treed290d37bb4b10f44c20ca8a4d64310483ba77003 /src
parent4cbbb0a31a45860cdc365e9fba9621c24bbaf8d8 (diff)
src: Make cache_is_complete() public
Signed-off-by: Phil Sutter <phil@nwl.cc> Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'src')
-rw-r--r--src/rule.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/rule.c b/src/rule.c
index 20fe6f37..ad549b1e 100644
--- a/src/rule.c
+++ b/src/rule.c
@@ -232,7 +232,7 @@ static int cache_completeness(enum cmd_ops cmd)
return 1;
}
-static bool cache_is_complete(struct nft_cache *cache, enum cmd_ops cmd)
+bool cache_is_complete(struct nft_cache *cache, enum cmd_ops cmd)
{
return cache_completeness(cache->cmd) >= cache_completeness(cmd);
}