[nft PATCH v2 14/14] tests/py: Add missing JSON equivalent for rule in inet/tcp.t

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Signed-off-by: Phil Sutter <phil@xxxxxx>
---
 tests/py/inet/tcp.t.json | 16 ++++++++++++++++
 1 file changed, 16 insertions(+)

diff --git a/tests/py/inet/tcp.t.json b/tests/py/inet/tcp.t.json
index 559206dfd323f..f5df72aa252a6 100644
--- a/tests/py/inet/tcp.t.json
+++ b/tests/py/inet/tcp.t.json
@@ -1021,6 +1021,22 @@
     }
 ]
 
+# tcp flags == syn
+[
+    {
+        "match": {
+            "left": {
+                "payload": {
+                    "field": "flags",
+                    "name": "tcp"
+                }
+            },
+            "op": "==",
+            "right": "syn"
+        }
+    }
+]
+
 # tcp flags & (syn|fin) == (syn|fin)
 [
     {
-- 
2.17.0

--
To unsubscribe from this list: send the line "unsubscribe netfilter-devel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Netfitler Users]     [LARTC]     [Bugtraq]     [Yosemite Forum]

  Powered by Linux