summaryrefslogtreecommitdiffstats
path: root/src/rule.c
diff options
context:
space:
mode:
authorPhil Sutter <phil@nwl.cc>2017-11-09 13:24:57 +0100
committerPablo Neira Ayuso <pablo@netfilter.org>2017-11-13 13:36:42 +0100
commit0ca812ad41bf2d89073a43f8efd3ee712031e3cb (patch)
tree98575a5e00cbd66eefb0d3ca3852f9afe278ebfa /src/rule.c
parentec93f80c18f883ecf51ec487c2064d79147f3913 (diff)
libnftables: Flush iface cache after command execution
Commit 94a945ffa81b7 ("libnftables: Get rid of explicit cache flushes") was a bit too optimistic in that it missed the remaining need to flush interface cache after each command in interactive mode - otherwise, newly added interfaces won't be recognized. Although cli.c only calls nft_run_cmd_from_buffer(), flush caches in nft_run_cmd_from_filename() as well for matters of consistency. Fixes: 94a945ffa81b7 ("libnftables: Get rid of explicit cache flushes") Signed-off-by: Phil Sutter <phil@nwl.cc> Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'src/rule.c')
0 files changed, 0 insertions, 0 deletions