Blame SOURCES/0013-nft.8-Fix-reject-statement-documentation.patch

ad45ff
From c2e843f9386bfa01bfbdd2742ce89f6c474ac0ee Mon Sep 17 00:00:00 2001
ad45ff
From: Phil Sutter <psutter@redhat.com>
ad45ff
Date: Wed, 20 Jun 2018 09:23:54 +0200
ad45ff
Subject: [PATCH] nft.8: Fix reject statement documentation
ad45ff
ad45ff
Bugzilla: https://bugzilla.redhat.com/show_bug.cgi?id=1571938
ad45ff
Upstream Status: nftables commit 9b3036bb9f00d
ad45ff
ad45ff
commit 9b3036bb9f00d6e244ed92e0e782c5617ae40b84
ad45ff
Author: Phil Sutter <phil@nwl.cc>
ad45ff
Date:   Wed Jun 6 10:56:26 2018 +0200
ad45ff
ad45ff
    nft.8: Fix reject statement documentation
ad45ff
ad45ff
    First of all, 'with icmp6' is invalid, expected is 'with icmpv6'. In
ad45ff
    addition to that, parameter 'type' expects an icmp*_code type, not
ad45ff
    icmp*_type. The respective table column was already correct, but in
ad45ff
    synopsis it was wrong.
ad45ff
ad45ff
    Signed-off-by: Phil Sutter <phil@nwl.cc>
ad45ff
    Signed-off-by: Florian Westphal <fw@strlen.de>
ad45ff
---
ad45ff
 doc/nft.xml | 10 +++++-----
ad45ff
 1 file changed, 5 insertions(+), 5 deletions(-)
ad45ff
ad45ff
diff --git a/doc/nft.xml b/doc/nft.xml
ad45ff
index c7e12c9..3da5fda 100644
ad45ff
--- a/doc/nft.xml
ad45ff
+++ b/doc/nft.xml
ad45ff
@@ -4472,14 +4472,14 @@ ip6 filter output log flags all
ad45ff
 						<arg choice="none">with</arg>
ad45ff
 						<group choice="req">
ad45ff
 							<arg>icmp</arg>
ad45ff
-							<arg>icmp6</arg>
ad45ff
+							<arg>icmpv6</arg>
ad45ff
 							<arg>icmpx</arg>
ad45ff
 						</group>
ad45ff
 						<arg choice="none">type</arg>
ad45ff
 						<group choice="req">
ad45ff
-							<arg>icmp_type</arg>
ad45ff
-							<arg>icmp6_type</arg>
ad45ff
-							<arg>icmpx_type</arg>
ad45ff
+							<arg>icmp_code</arg>
ad45ff
+							<arg>icmpv6_code</arg>
ad45ff
+							<arg>icmpx_code</arg>
ad45ff
 						</group>
ad45ff
 					</arg>
ad45ff
 				</cmdsynopsis>
ad45ff
@@ -4516,7 +4516,7 @@ ip6 filter output log flags all
ad45ff
 								<entry>icmp_code</entry>
ad45ff
 							</row>
ad45ff
 							<row>
ad45ff
-								<entry>icmp6</entry>
ad45ff
+								<entry>icmpv6</entry>
ad45ff
 								<entry>ip6</entry>
ad45ff
 								<entry>icmpv6_code</entry>
ad45ff
 							</row>
ad45ff
-- 
ad45ff
1.8.3.1
ad45ff