From b7459b0c854fc7a0d6cd86151b81035a8edf8e63 Mon Sep 17 00:00:00 2001 From: Florian Westphal Date: Fri, 17 May 2019 13:57:23 +0200 Subject: tests: shell: avoid single-value anon sets Future change is going to auto-change them to simple compare ops rather than lookup in set with only one element. Signed-off-by: Florian Westphal --- tests/shell/testcases/cache/dumps/0001_cache_handling_0.nft | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'tests/shell/testcases/cache/dumps') diff --git a/tests/shell/testcases/cache/dumps/0001_cache_handling_0.nft b/tests/shell/testcases/cache/dumps/0001_cache_handling_0.nft index f6dd6541..47d744e9 100644 --- a/tests/shell/testcases/cache/dumps/0001_cache_handling_0.nft +++ b/tests/shell/testcases/cache/dumps/0001_cache_handling_0.nft @@ -5,8 +5,8 @@ table inet test { } chain test { - ip daddr { 2.2.2.2 } counter packets 0 bytes 0 accept + ip daddr 2.2.2.2 counter packets 0 bytes 0 accept ip saddr @test counter packets 0 bytes 0 accept - ip daddr { 2.2.2.2 } counter packets 0 bytes 0 accept + ip daddr 2.2.2.2 counter packets 0 bytes 0 accept } } -- cgit v1.2.3