]> git.ipfire.org Git - thirdparty/nftables.git/commit
tests/py: Fix differences printing for rules with sets
authorPhil Sutter <phil@nwl.cc>
Fri, 13 Apr 2018 14:52:31 +0000 (16:52 +0200)
committerPablo Neira Ayuso <pablo@netfilter.org>
Sat, 14 Apr 2018 11:53:02 +0000 (13:53 +0200)
commitf481851b0dbaeb76ecc5c355e4a9cc8c5da71956
treef25687484445c27f60085a03ab5356bf9f3675f1
parente20513ffe57c532e397ed5015ce58266870da5a4
tests/py: Fix differences printing for rules with sets

If a rule contained a set, it would always print the tested rule as
differing from the output instead of any given output (if defined).

Signed-off-by: Phil Sutter <phil@nwl.cc>
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
tests/py/nft-test.py