diff options
Diffstat (limited to 'doc/data-types.txt')
-rw-r--r-- | doc/data-types.txt | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/doc/data-types.txt b/doc/data-types.txt index 2c6108fb..8bbdd573 100644 --- a/doc/data-types.txt +++ b/doc/data-types.txt @@ -112,12 +112,16 @@ 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 specificationIPv6 address specification with bracket notation +.IPv6 address specification ---------------------- # abbreviated loopback address filter output ip6 daddr ::1 +---------------------------- -# without [] the port number (22) would be parsed as part of ipv6 address +.IPv6 address specification with bracket notation +---------------------- +# without [] the port number (22) would be parsed as part of the +# ipv6 address ip6 nat prerouting tcp dport 2222 dnat to [1ce::d0]:22 ---------------------------- |