From a47130611ce32678cf46722188910a4c9f2914f8 Mon Sep 17 00:00:00 2001 From: Florian Westphal Date: Wed, 28 Feb 2018 09:34:07 +0100 Subject: doc: remove ipv6 address FIXME Signed-off-by: Florian Westphal --- doc/nft.xml | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) (limited to 'doc') diff --git a/doc/nft.xml b/doc/nft.xml index 2b88727c..b6b5506c 100644 --- a/doc/nft.xml +++ b/doc/nft.xml @@ -1663,7 +1663,10 @@ filter output ip daddr localhost - The IPv6 address type is used for IPv6 addresses. FIXME + The IPv6 address type is used for IPv6 addresses. + Addresses are specified as a host name or as hexadecimal halfwords separated + by colons. Addresses might be enclosed in square brackets ("[]") to differentiate them + from port numbers. IPv6 address specification @@ -1671,6 +1674,13 @@ filter output ip daddr localhost # abbreviated loopback address filter output ip6 daddr ::1 + + + IPv6 address specification with bracket notation + +# without [] the port number (22) would be parsed as part of ipv6 address +ip6 nat prerouting tcp dport 2222 dnat to [1ce::d0]:22 + -- cgit v1.2.3