diff options
-rw-r--r-- | tests/py/bridge/ether.t | 2 | ||||
-rw-r--r-- | tests/py/bridge/ether.t.payload | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/tests/py/bridge/ether.t b/tests/py/bridge/ether.t index 4a177ab0..5c6766eb 100644 --- a/tests/py/bridge/ether.t +++ b/tests/py/bridge/ether.t @@ -7,4 +7,4 @@ tcp dport 22 ip daddr 1.2.3.4 ether saddr 00:0f:54:0c:11:04;ok;tcp dport 22 ethe tcp dport 22 ether saddr 00:0f:54:0c:11:04 ip daddr 1.2.3.4;ok ether saddr 00:0f:54:0c:11:04 ip daddr 1.2.3.4 accept;ok -ether daddr 00:01:02:03:04:05 ether saddr set ff:ff:ff:ff:ff:ff drop;ok +ether daddr 00:01:02:03:04:05 ether saddr set ff:fe:dc:ba:98:76 drop;ok diff --git a/tests/py/bridge/ether.t.payload b/tests/py/bridge/ether.t.payload index c545d657..74956b64 100644 --- a/tests/py/bridge/ether.t.payload +++ b/tests/py/bridge/ether.t.payload @@ -42,11 +42,11 @@ bridge test-bridge input [ cmp eq reg 1 0x04030201 ] [ immediate reg 0 accept ] -# ether daddr 00:01:02:03:04:05 ether saddr set ff:ff:ff:ff:ff:ff drop +# ether daddr 00:01:02:03:04:05 ether saddr set ff:fe:dc:ba:98:76 drop bridge test-bridge input [ payload load 6b @ link header + 0 => reg 1 ] [ cmp eq reg 1 0x03020100 0x00000504 ] - [ immediate reg 1 0xffffffff 0x0000ffff ] + [ immediate reg 1 0xbadcfeff 0x00007698 ] [ payload write reg 1 => 6b @ link header + 6 csum_type 0 csum_off 0 ] [ immediate reg 0 drop ] |