]> git.ipfire.org Git - thirdparty/nftables.git/commitdiff
Revert "tests: py: fix json single-flag output for fib & synproxy"
authorPablo Neira Ayuso <pablo@netfilter.org>
Tue, 12 Aug 2025 19:57:43 +0000 (21:57 +0200)
committerPablo Neira Ayuso <pablo@netfilter.org>
Tue, 12 Aug 2025 21:41:35 +0000 (23:41 +0200)
This reverts commit 4725f4887da84b1b6bbfd0c138bc48a707301fa1.

This 1.0.6.y branch does not contain the follow upstream commits:

  38f99ee84fe6 ("json: Print single synproxy flags as non-array")
  dbe5c44f2b89 ("json: Print single fib flag as non-array")

Therefore, such commit above is not required.

Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
tests/py/inet/fib.t.json.output
tests/py/inet/synproxy.t.json.output [deleted file]

index e21f1e72c636ca2e4d18fc65cd97cbdc378aa701..52cd46bc0e1218ea913949f4671bdda0e99fd53e 100644 (file)
     }
 ]
 
-# fib daddr oif exists
-[
-    {
-        "match": {
-            "left": {
-                "fib": {
-                    "flags": "daddr",
-                    "result": "oif"
-                }
-            },
-            "op": "==",
-            "right": true
-        }
-    }
-]
-
-# fib daddr oif missing
-[
-    {
-        "match": {
-            "left": {
-                "fib": {
-                    "flags": "daddr",
-                    "result": "oif"
-                }
-            },
-            "op": "==",
-            "right": false
-        }
-    }
-]
-
diff --git a/tests/py/inet/synproxy.t.json.output b/tests/py/inet/synproxy.t.json.output
deleted file mode 100644 (file)
index e32cdfb..0000000
+++ /dev/null
@@ -1,17 +0,0 @@
-# synproxy timestamp
-[
-    {
-        "synproxy": {
-            "flags": "timestamp"
-        }
-    }
-]
-
-# synproxy sack-perm
-[
-    {
-        "synproxy": {
-            "flags": "sack-perm"
-        }
-    }
-]