]> git.ipfire.org Git - thirdparty/nftables.git/commit
src: add 'to' for snat and dnat
authorPablo Neira Ayuso <pablo@netfilter.org>
Thu, 28 Jul 2016 18:03:53 +0000 (20:03 +0200)
committerPablo Neira Ayuso <pablo@netfilter.org>
Thu, 18 Aug 2016 01:14:57 +0000 (03:14 +0200)
commit850f0a56b6ad625d6c5d8ba28ec4f55ec02ff2a7
tree6c6f18f7db5d12ed118ecca86deb40a763aaafa6
parent788c986343bc24bd0272e8aa409121ffe51f1ef3
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>
src/parser_bison.y
src/statement.c
tests/py/ip/dnat.t
tests/py/ip/dnat.t.payload.ip
tests/py/ip/snat.t
tests/py/ip/snat.t.payload
tests/py/ip6/dnat.t
tests/py/ip6/dnat.t.payload.ip6
tests/py/ip6/snat.t
tests/py/ip6/snat.t.payload.ip6