summaryrefslogtreecommitdiffstats
path: root/src/cli.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/cli.c')
-rw-r--r--src/cli.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/cli.c b/src/cli.c
index cadc3af6..3174cfed 100644
--- a/src/cli.c
+++ b/src/cli.c
@@ -140,8 +140,7 @@ static void cli_complete(char *line)
nft_run(cli_nft, cli_nf_sock, scanner, state, &msgs);
erec_print_list(&cli_nft->output, &msgs, cli_nft->debug_mask);
xfree(line);
- cache_release(&cli_nft->cache);
- iface_cache_release();
+ nft_ctx_flush_cache(cli_nft);
}
static char **cli_completion(const char *text, int start, int end)