diff options
author | Florian Westphal <fw@strlen.de> | 2018-02-28 09:34:07 +0100 |
---|---|---|
committer | Florian Westphal <fw@strlen.de> | 2018-02-28 17:02:26 +0100 |
commit | a47130611ce32678cf46722188910a4c9f2914f8 (patch) | |
tree | 3a76ce61e125df102abdd4419499a08bd1283197 /doc | |
parent | 7f31d3191622b650521014e311ace96aa7c5522c (diff) |
doc: remove ipv6 address FIXME
Signed-off-by: Florian Westphal <fw@strlen.de>
Diffstat (limited to 'doc')
-rw-r--r-- | doc/nft.xml | 12 |
1 files changed, 11 insertions, 1 deletions
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 </table> </para> <para> - 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. </para> <example> <title>IPv6 address specification</title> @@ -1671,6 +1674,13 @@ filter output ip daddr localhost # abbreviated loopback address filter output ip6 daddr ::1 </programlisting> + <example> + </example> + <title>IPv6 address specification with bracket notation</title> + <programlisting> +# without [] the port number (22) would be parsed as part of ipv6 address +ip6 nat prerouting tcp dport 2222 dnat to [1ce::d0]:22 + </programlisting> </example> </refsect2> |