summaryrefslogtreecommitdiffstats
path: root/iptables
diff options
context:
space:
mode:
authorPhil Sutter <phil@nwl.cc>2022-12-01 01:38:26 +0100
committerPhil Sutter <phil@nwl.cc>2022-12-02 01:47:32 +0100
commit7705b2daa3bdc1143e58a4e38224a3392ff3501a (patch)
treec9cb716e30bb1e062f21b9f8ab83a2f8e9c64f23 /iptables
parentd1fb4f93d35860624c8a07844942febb113f2b65 (diff)
tests: xlate: Use --check to verify replay
After applying the translated rule using nft, pass the untranslated rule to --check instead of dumping the ruleset and performing a string search. This fixes for mandatory match reordering (e.g. addresses before interfaces) and minor differences like /32 netmasks or even just whitespace changes. Fixes: 223e34b057b95 ("tests: xlate-test: Replay results for reverse direction testing") Signed-off-by: Phil Sutter <phil@nwl.cc>
Diffstat (limited to 'iptables')
0 files changed, 0 insertions, 0 deletions