summaryrefslogtreecommitdiffstats
path: root/tests/py/ip/dup.t.payload
diff options
context:
space:
mode:
Diffstat (limited to 'tests/py/ip/dup.t.payload')
-rw-r--r--tests/py/ip/dup.t.payload8
1 files changed, 4 insertions, 4 deletions
diff --git a/tests/py/ip/dup.t.payload b/tests/py/ip/dup.t.payload
index 94d55c6f..347dc07a 100644
--- a/tests/py/ip/dup.t.payload
+++ b/tests/py/ip/dup.t.payload
@@ -3,19 +3,19 @@ ip test-ip4 test
[ immediate reg 1 0x0102a8c0 ]
[ dup sreg_addr 1 ]
-# dup to 192.168.2.1 device "eth0"
+# dup to 192.168.2.1 device "lo"
ip test-ip4 test
[ immediate reg 1 0x0102a8c0 ]
- [ immediate reg 2 0x00000002 ]
+ [ immediate reg 2 0x00000001 ]
[ dup sreg_addr 1 sreg_dev 2 ]
-# dup to ip saddr map { 192.168.2.120 : 192.168.2.1 } device "eth0"
+# dup to ip saddr map { 192.168.2.120 : 192.168.2.1 } device "lo"
__map%d test-ip4 b
__map%d test-ip4 0
element 7802a8c0 : 0102a8c0 0 [end]
ip test-ip4 test
[ payload load 4b @ network header + 12 => reg 1 ]
[ lookup reg 1 set __map%d dreg 1 ]
- [ immediate reg 2 0x00000002 ]
+ [ immediate reg 2 0x00000001 ]
[ dup sreg_addr 1 sreg_dev 2 ]