]> git.ipfire.org Git - thirdparty/nftables.git/commitdiff
doc: remove ipv6 address FIXME
authorFlorian Westphal <fw@strlen.de>
Wed, 28 Feb 2018 08:34:07 +0000 (09:34 +0100)
committerFlorian Westphal <fw@strlen.de>
Wed, 28 Feb 2018 16:02:26 +0000 (17:02 +0100)
Signed-off-by: Florian Westphal <fw@strlen.de>
doc/nft.xml

index 2b88727c941b99f51ff99f8a0e5e023fce4029b6..b6b5506caba92b29e8b3d4b758b9bfffa3f60470 100644 (file)
@@ -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>