]> git.ipfire.org Git - thirdparty/nftables.git/commitdiff
tests: py: Drop stale entry from ip/snat.t.json
authorPhil Sutter <phil@nwl.cc>
Wed, 13 Aug 2025 13:03:29 +0000 (15:03 +0200)
committerPhil Sutter <phil@nwl.cc>
Mon, 18 Aug 2025 20:57:19 +0000 (22:57 +0200)
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 <phil@nwl.cc>
Reviewed-by: Pablo Neira Ayuso <pablo@netfilter.org>
tests/py/ip/snat.t.json

index 967560e636a97aca8f2daf562633c11a9553d347..60bd0932f3c090bd84b506f12347f58f9e56396d 100644 (file)
     }
 ]
 
-# 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 }
 [
     {