Blame SOURCES/0027-nft.8-Update-meta-pkt_type-value-description.patch

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