]> git.ipfire.org Git - thirdparty/iptables.git/commit
arptables-nft: Fix listing rules without target
authorPhil Sutter <phil@nwl.cc>
Thu, 31 Jan 2019 15:12:50 +0000 (16:12 +0100)
committerFlorian Westphal <fw@strlen.de>
Thu, 31 Jan 2019 21:53:00 +0000 (22:53 +0100)
commit043bf38bc9ee020bbf1a9789773050d47f83b807
tree53d12f0c1daaa08096c93ba05c94614fedde5ca8
parenta5f517a41d72794fae3d1332e6e0e413a5cd16c1
arptables-nft: Fix listing rules without target

Don't try to print cs.jumpto if it is an empty string, otherwise listing
(and verbose output) contains '-j' flag without argument.

Signed-off-by: Phil Sutter <phil@nwl.cc>
Signed-off-by: Florian Westphal <fw@strlen.de>
iptables/nft-arp.c