]> git.ipfire.org Git - thirdparty/nftables.git/commit
tests: shell: Improve gen_chains() in 0021prio_0
authorPhil Sutter <phil@nwl.cc>
Tue, 25 Sep 2018 12:24:15 +0000 (14:24 +0200)
committerFlorian Westphal <fw@strlen.de>
Wed, 26 Sep 2018 08:32:15 +0000 (10:32 +0200)
commit61dc3b130c1b685ddae713ef9bede864f8bc7d33
treef48d7461cbb8b076dbfdbfb37ec8cccb592ee2ea
parent27a54a7bd0928ff2417fa6f9b6839290e90e5435
tests: shell: Improve gen_chains() in 0021prio_0

Enhance the function to accept an optional fourth parameter specifying
the device name, then use it for netdev family. Also remove dubled empty
lines and instead put together what belongs together.

Signed-off-by: Phil Sutter <phil@nwl.cc>
Signed-off-by: Florian Westphal <fw@strlen.de>
tests/shell/testcases/chains/0021prio_0