[PATCH nft] doc: remove ipv6 address FIXME

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Signed-off-by: Florian Westphal <fw@xxxxxxxxx>
---
 doc/nft.xml | 12 +++++++++++-
 1 file changed, 11 insertions(+), 1 deletion(-)

diff --git a/doc/nft.xml b/doc/nft.xml
index 2b88727..b6b5506 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>
 
-- 
2.14.3

--
To unsubscribe from this list: send the line "unsubscribe netfilter-devel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Netfitler Users]     [LARTC]     [Bugtraq]     [Yosemite Forum]

  Powered by Linux