summaryrefslogtreecommitdiffstats
path: root/doc/nft.xml
diff options
context:
space:
mode:
authorPhil Sutter <phil@nwl.cc>2018-06-06 10:56:26 +0200
committerFlorian Westphal <fw@strlen.de>2018-06-06 11:01:15 +0200
commit9b3036bb9f00d6e244ed92e0e782c5617ae40b84 (patch)
treebf1efb44f7aade6cabdb844e512dcbe108648624 /doc/nft.xml
parentbef45fdbcade8e0cacb7af8f4d114b3d720e63ab (diff)
nft.8: Fix reject statement documentation
First of all, 'with icmp6' is invalid, expected is 'with icmpv6'. In addition to that, parameter 'type' expects an icmp*_code type, not icmp*_type. The respective table column was already correct, but in synopsis it was wrong. Signed-off-by: Phil Sutter <phil@nwl.cc> Signed-off-by: Florian Westphal <fw@strlen.de>
Diffstat (limited to 'doc/nft.xml')
-rw-r--r--doc/nft.xml10
1 files changed, 5 insertions, 5 deletions
diff --git a/doc/nft.xml b/doc/nft.xml
index cd6c012f..3a5571b0 100644
--- a/doc/nft.xml
+++ b/doc/nft.xml
@@ -4812,14 +4812,14 @@ ip6 filter output log flags all
<arg choice="none">with</arg>
<group choice="req">
<arg>icmp</arg>
- <arg>icmp6</arg>
+ <arg>icmpv6</arg>
<arg>icmpx</arg>
</group>
<arg choice="none">type</arg>
<group choice="req">
- <arg>icmp_type</arg>
- <arg>icmp6_type</arg>
- <arg>icmpx_type</arg>
+ <arg>icmp_code</arg>
+ <arg>icmpv6_code</arg>
+ <arg>icmpx_code</arg>
</group>
</arg>
</cmdsynopsis>
@@ -4854,7 +4854,7 @@ ip6 filter output log flags all
<entry>icmp_code</entry>
</row>
<row>
- <entry>icmp6</entry>
+ <entry>icmpv6</entry>
<entry>ip6</entry>
<entry>icmpv6_code</entry>
</row>