]> git.ipfire.org Git - thirdparty/nftables.git/commitdiff
nft.8: Fix reject statement documentation
authorPhil Sutter <phil@nwl.cc>
Wed, 6 Jun 2018 08:56:26 +0000 (10:56 +0200)
committerFlorian Westphal <fw@strlen.de>
Wed, 6 Jun 2018 09:01:15 +0000 (11:01 +0200)
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>
doc/nft.xml

index cd6c012ff1b6d081f27144490a398e3a7da1632c..3a5571b0da57ab64553251d9024b5ffac32f015c 100644 (file)
@@ -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>