diff options
Diffstat (limited to 'tests/py/bridge/ether.t.json.output')
-rw-r--r-- | tests/py/bridge/ether.t.json.output | 48 |
1 files changed, 4 insertions, 44 deletions
diff --git a/tests/py/bridge/ether.t.json.output b/tests/py/bridge/ether.t.json.output index 05e568f6..5bb2e47a 100644 --- a/tests/py/bridge/ether.t.json.output +++ b/tests/py/bridge/ether.t.json.output @@ -8,7 +8,7 @@ "protocol": "tcp" } }, - "op": "==", + "op": "==", "right": 22 } }, @@ -16,46 +16,15 @@ "match": { "left": { "payload": { - "field": "saddr", - "protocol": "ether" - } - }, - "op": "==", - "right": "00:0f:54:0c:11:04" - } - }, - { - "match": { - "left": { - "payload": { "field": "daddr", "protocol": "ip" } }, - "op": "==", + "op": "==", "right": "1.2.3.4" } }, { - "accept": null - } -] - -# tcp dport 22 ip daddr 1.2.3.4 ether saddr 00:0f:54:0c:11:04 -[ - { - "match": { - "left": { - "payload": { - "field": "dport", - "protocol": "tcp" - } - }, - "op": "==", - "right": 22 - } - }, - { "match": { "left": { "payload": { @@ -63,21 +32,12 @@ "protocol": "ether" } }, - "op": "==", + "op": "==", "right": "00:0f:54:0c:11:04" } }, { - "match": { - "left": { - "payload": { - "field": "daddr", - "protocol": "ip" - } - }, - "op": "==", - "right": "1.2.3.4" - } + "accept": null } ] |