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

ad45ff
From c5911dc74ad3d2858962e3384753c49cc3ad5ebe Mon Sep 17 00:00:00 2001
ad45ff
From: Phil Sutter <psutter@redhat.com>
ad45ff
Date: Thu, 4 Apr 2019 12:32:26 +0200
ad45ff
Subject: [PATCH] nft.8: Update meta pkt_type value description
ad45ff
ad45ff
Bugzilla: https://bugzilla.redhat.com/show_bug.cgi?id=1628694
ad45ff
Upstream Status: nftables commit d75e9184bb51a
ad45ff
Conflicts: Changes applied manually to doc/nft.xml, upstream switched to
ad45ff
           using asciidoc.
ad45ff
ad45ff
commit d75e9184bb51a1311ac950b13384f329836d597e
ad45ff
Author: Phil Sutter <phil@nwl.cc>
ad45ff
Date:   Fri Sep 14 11:00:14 2018 +0200
ad45ff
ad45ff
    nft.8: Update meta pkt_type value description
ad45ff
ad45ff
    Commit 8a7f6de536408 ("meta: fix pkttype name and add 'other' symbol")
ad45ff
    deprecated pkt_type value 'unicast' (for it being misleading) and
ad45ff
    introduced 'host' and 'other' but it did not update documentation
ad45ff
    accordingly. Fix this by replacing 'unicast' with 'host' in
ad45ff
    documentation and adding 'other'.
ad45ff
ad45ff
    While being at it, make sure these literal values are recognized as
ad45ff
    such: Put them in all lower-case (as required by the parser) and in bold
ad45ff
    font (to stand out a bit more).
ad45ff
ad45ff
    Signed-off-by: Phil Sutter <phil@nwl.cc>
ad45ff
    Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
ad45ff
---
ad45ff
 doc/nft.xml | 5 +++--
ad45ff
 1 file changed, 3 insertions(+), 2 deletions(-)
ad45ff
ad45ff
diff --git a/doc/nft.xml b/doc/nft.xml
ad45ff
index a4a4c3f..12b6cea 100644
ad45ff
--- a/doc/nft.xml
ad45ff
+++ b/doc/nft.xml
ad45ff
@@ -2734,8 +2734,9 @@ filter output icmpv6 type { echo-request, echo-reply }
ad45ff
 							<row>
ad45ff
 								<entry>pkt_type</entry>
ad45ff
 								<entry>
ad45ff
-									Packet type: Unicast (addressed to local host),
ad45ff
-									Broadcast (to all), Multicast (to group).
ad45ff
+									Packet type: <literal>host</literal> (addressed to local host),
ad45ff
+									<literal>broadcast</literal> (to all), <literal>multicast</literal> (to group),
ad45ff
+									<literal>other</literal> (addressed to another host).
ad45ff
 								</entry>
ad45ff
 							</row>
ad45ff
 						
ad45ff
-- 
ad45ff
1.8.3.1
ad45ff