]> git.ipfire.org Git - thirdparty/nftables.git/commitdiff
tests: add missing json arp operation output
authorFlorian Westphal <fw@strlen.de>
Tue, 18 Jun 2019 18:13:58 +0000 (20:13 +0200)
committerFlorian Westphal <fw@strlen.de>
Tue, 18 Jun 2019 18:46:16 +0000 (20:46 +0200)
Signed-off-by: Florian Westphal <fw@strlen.de>
tests/py/arp/arp.t.json

index 0ea62645bbf6aba9f03118382a41015dc7d8086b..5f2f6cd85b5e679d9d51aa7eafbbd8ec14eb8326 100644 (file)
     }
 ]
 
+# arp operation 1-2
+[
+    {
+        "match": {
+            "left": {
+                "payload": {
+                    "field": "operation",
+                    "protocol": "arp"
+                }
+            },
+            "op": "==",
+            "right": {
+                "range": [
+                    "request",
+                    "reply"
+                ]
+            }
+        }
+    }
+]
+
 # arp operation request
 [
     {