]> git.ipfire.org Git - thirdparty/iptables.git/commit
nft: Be lazy when flushing
authorPhil Sutter <phil@nwl.cc>
Fri, 10 Jul 2020 18:42:11 +0000 (20:42 +0200)
committerPhil Sutter <phil@nwl.cc>
Fri, 24 Jul 2020 17:15:56 +0000 (19:15 +0200)
commitf1f241db42f92474cdc41e25de310493b554154c
tree2c21a99eca1a26ce7eb408a6de74b32c821c39d7
parent0b7c22e00622db468846f11809ca0cecc6c7cd97
nft: Be lazy when flushing

If neither chain nor verbose flag was specified and the table to flush
doesn't exist yet, no action is needed (as there is nothing to flush
anyway).

Signed-off-by: Phil Sutter <phil@nwl.cc>
iptables/nft.c