]> git.ipfire.org Git - thirdparty/nftables.git/commitdiff
tests/monitor: Fix for changed ct timeout format
authorPhil Sutter <phil@nwl.cc>
Wed, 16 Oct 2019 21:46:10 +0000 (23:46 +0200)
committerPhil Sutter <phil@nwl.cc>
Thu, 17 Oct 2019 10:48:36 +0000 (12:48 +0200)
Commit a9b0c385a1d5e ("rule: print space between policy and timeout")
changed spacing in ct timeout objects but missed to adjust related test
case.

Fixes: a9b0c385a1d5e ("rule: print space between policy and timeout")
Signed-off-by: Phil Sutter <phil@nwl.cc>
Acked-by: Florian Westphal <fw@strlen.de>
tests/monitor/testcases/object.t

index dacfed29d639ebd7ebb24117c4598417bd0a9857..2afe33c8125710e83b4239e424276b91e5d7e097 100644 (file)
@@ -37,7 +37,7 @@ I delete ct helper ip t cth
 O -
 J {"delete": {"ct helper": {"family": "ip", "name": "cth", "table": "t", "handle": 0, "type": "sip", "protocol": "tcp", "l3proto": "ip"}}}
 
-I add ct timeout ip t ctt { protocol udp; l3proto ip; policy = { unreplied: 15, replied: 12 }; }
+I add ct timeout ip t ctt { protocol udp; l3proto ip; policy = { unreplied : 15, replied : 12 }; }
 O -
 J {"add": {"ct timeout": {"family": "ip", "name": "ctt", "table": "t", "handle": 0, "protocol": "udp", "l3proto": "ip", "policy": {"unreplied": 15, "replied": 12}}}}