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