[nft PATCH] nft.8: Fix reject statement documentation

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

 



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@xxxxxx>
---
 doc/nft.xml | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)

diff --git a/doc/nft.xml b/doc/nft.xml
index cd6c012ff1b6d..3a5571b0da57a 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>
-- 
2.17.0

--
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