From: Phil Sutter Date: Wed, 13 Aug 2025 13:03:29 +0000 (+0200) Subject: tests: py: Drop stale entry from ip/snat.t.json X-Git-Tag: v1.1.5~19 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=71d90776fc56b14250f2306c4e19b50c23bd3ae3;p=thirdparty%2Fnftables.git tests: py: Drop stale entry from ip/snat.t.json The test syntax was changed, but the respective JSON equivalent remained in place. Fixes: 9b169bfc650eb ("src: remove STMT_NAT_F_INTERVAL flags and interval keyword") Signed-off-by: Phil Sutter Reviewed-by: Pablo Neira Ayuso --- diff --git a/tests/py/ip/snat.t.json b/tests/py/ip/snat.t.json index 967560e6..60bd0932 100644 --- a/tests/py/ip/snat.t.json +++ b/tests/py/ip/snat.t.json @@ -283,39 +283,6 @@ } ] -# snat ip interval to ip saddr map { 10.141.11.4 : 192.168.2.2-192.168.2.4 } -[ - { - "snat": { - "addr": { - "map": { - "data": { - "set": [ - [ - "10.141.11.4", - { - "range": [ - "192.168.2.2", - "192.168.2.4" - ] - } - ] - ] - }, - "key": { - "payload": { - "field": "saddr", - "protocol": "ip" - } - } - } - }, - "family": "ip", - "type_flags": "interval" - } - } -] - # snat ip prefix to ip saddr map { 10.141.11.0/24 : 192.168.2.0/24 } [ {