diff options
author | Pablo Neira Ayuso <pablo@netfilter.org> | 2016-05-13 19:13:12 +0200 |
---|---|---|
committer | Pablo Neira Ayuso <pablo@netfilter.org> | 2016-05-13 19:19:51 +0200 |
commit | 14b68bb14eb7360219e65120e41b0ee496b6b3da (patch) | |
tree | d9b3cc4d3478c2f7bb66b8cb0974ec9ad852bdc9 /tests/py/ip/dup.t.payload | |
parent | 01a5eaee44355cff75f4b320b995b40588b3eede (diff) |
tests/py: update for changed set name in payload
Original patch posted in the mailing list from Patrick, I have refreshed
this so it applies on top of current HEAD.
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'tests/py/ip/dup.t.payload')
-rw-r--r-- | tests/py/ip/dup.t.payload | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/py/ip/dup.t.payload b/tests/py/ip/dup.t.payload index 7928d5d5..1799b3d2 100644 --- a/tests/py/ip/dup.t.payload +++ b/tests/py/ip/dup.t.payload @@ -10,12 +10,12 @@ ip test-ip4 test [ dup sreg_addr 1 sreg_dev 2 ] # dup to ip saddr map { 192.168.2.120 : 192.168.2.1 } device eth0 -map%d test-ip4 b -map%d test-ip4 0 +__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 ] + [ lookup reg 1 set __map%d dreg 1 ] [ immediate reg 2 0x00000002 ] [ dup sreg_addr 1 sreg_dev 2 ] |