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

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