summaryrefslogtreecommitdiffstats
path: root/tests/py/ip6/dnat.t.payload.ip6
diff options
context:
space:
mode:
authorPablo Neira Ayuso <pablo@netfilter.org>2016-07-28 20:03:53 +0200
committerPablo Neira Ayuso <pablo@netfilter.org>2016-08-18 03:14:57 +0200
commit850f0a56b6ad625d6c5d8ba28ec4f55ec02ff2a7 (patch)
tree6c6f18f7db5d12ed118ecca86deb40a763aaafa6 /tests/py/ip6/dnat.t.payload.ip6
parent788c986343bc24bd0272e8aa409121ffe51f1ef3 (diff)
src: add 'to' for snat and dnat
This is extra syntaxtic sugar to get this consistent with other statements such as redirect, masquerade, dup and fwd that indicates where to go. Existing syntax is still preserved, but the listing shows the one including 'to'. Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'tests/py/ip6/dnat.t.payload.ip6')
-rw-r--r--tests/py/ip6/dnat.t.payload.ip64
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/py/ip6/dnat.t.payload.ip6 b/tests/py/ip6/dnat.t.payload.ip6
index 13c7a0e3..494ade39 100644
--- a/tests/py/ip6/dnat.t.payload.ip6
+++ b/tests/py/ip6/dnat.t.payload.ip6
@@ -1,4 +1,4 @@
-# tcp dport 80-90 dnat 2001:838:35f:1::-2001:838:35f:2:::80-100
+# tcp dport 80-90 dnat to 2001:838:35f:1::-2001:838:35f:2:::80-100
ip6 test-ip6 prerouting
[ payload load 1b @ network header + 6 => reg 1 ]
[ cmp eq reg 1 0x00000006 ]
@@ -11,7 +11,7 @@ ip6 test-ip6 prerouting
[ immediate reg 4 0x00006400 ]
[ nat dnat ip6 addr_min reg 1 addr_max reg 2 proto_min reg 3 proto_max reg 4 ]
-# tcp dport 80-90 dnat 2001:838:35f:1::-2001:838:35f:2:: :100
+# tcp dport 80-90 dnat to 2001:838:35f:1::-2001:838:35f:2:: :100
ip6 test-ip6 prerouting
[ payload load 1b @ network header + 6 => reg 1 ]
[ cmp eq reg 1 0x00000006 ]