|
|
9ff721 |
From c2d82484a75c99e079754e75ccc510e91290bb72 Mon Sep 17 00:00:00 2001
|
|
|
9ff721 |
From: Phil Sutter <phil@nwl.cc>
|
|
|
9ff721 |
Date: Fri, 14 Sep 2018 11:00:14 +0200
|
|
|
9ff721 |
Subject: [PATCH] nft.8: Update meta pkt_type value description
|
|
|
9ff721 |
|
|
|
9ff721 |
Commit 8a7f6de536408 ("meta: fix pkttype name and add 'other' symbol")
|
|
|
9ff721 |
deprecated pkt_type value 'unicast' (for it being misleading) and
|
|
|
9ff721 |
introduced 'host' and 'other' but it did not update documentation
|
|
|
9ff721 |
accordingly. Fix this by replacing 'unicast' with 'host' in
|
|
|
9ff721 |
documentation and adding 'other'.
|
|
|
9ff721 |
|
|
|
9ff721 |
While being at it, make sure these literal values are recognized as
|
|
|
9ff721 |
such: Put them in all lower-case (as required by the parser) and in bold
|
|
|
9ff721 |
font (to stand out a bit more).
|
|
|
9ff721 |
|
|
|
9ff721 |
Signed-off-by: Phil Sutter <phil@nwl.cc>
|
|
|
9ff721 |
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
|
|
|
9ff721 |
(cherry picked from commit d75e9184bb51a1311ac950b13384f329836d597e)
|
|
|
9ff721 |
|
|
|
9ff721 |
Conflicts:
|
|
|
9ff721 |
doc/primary-expression.txt
|
|
|
9ff721 |
-> Patch manually applied to doc/nft.xml, patches converting man page
|
|
|
9ff721 |
source to asciidoc are missing entirely.
|
|
|
9ff721 |
|
|
|
9ff721 |
Signed-off-by: Phil Sutter <psutter@redhat.com>
|
|
|
9ff721 |
---
|
|
|
9ff721 |
doc/nft.xml | 4 ++--
|
|
|
9ff721 |
1 file changed, 2 insertions(+), 2 deletions(-)
|
|
|
9ff721 |
|
|
|
9ff721 |
diff --git a/doc/nft.xml b/doc/nft.xml
|
|
|
9ff721 |
index 3a5571b0da57a..0df42810c5e68 100644
|
|
|
9ff721 |
--- a/doc/nft.xml
|
|
|
9ff721 |
+++ b/doc/nft.xml
|
|
|
9ff721 |
@@ -2991,8 +2991,8 @@ filter output icmpv6 type { echo-request, echo-reply }
|
|
|
9ff721 |
<row>
|
|
|
9ff721 |
<entry>pkt_type</entry>
|
|
|
9ff721 |
<entry>
|
|
|
9ff721 |
- Packet type: Unicast (addressed to local host),
|
|
|
9ff721 |
- Broadcast (to all), Multicast (to group).
|
|
|
9ff721 |
+ Packet type: <literal>host</literal> (addressed to local host),
|
|
|
9ff721 |
+ <literal>broadcast</literal> (to all), <literal>multicast</literal> (to group), <literal>other</literal> (addressed to another host).
|
|
|
9ff721 |
</entry>
|
|
|
9ff721 |
</row>
|
|
|
9ff721 |
|
|
|
9ff721 |
--
|
|
|
bacbc8 |
2.21.0
|
|
|
9ff721 |
|