diff mbox series

[nft] nft.8: Update meta pkt_type value description

Message ID 20180914090014.27751-1-phil@nwl.cc
State Accepted
Delegated to: Pablo Neira
Headers show
Series [nft] nft.8: Update meta pkt_type value description | expand

Commit Message

Phil Sutter Sept. 14, 2018, 9 a.m. UTC
Commit 8a7f6de536408 ("meta: fix pkttype name and add 'other' symbol")
deprecated pkt_type value 'unicast' (for it being misleading) and
introduced 'host' and 'other' but it did not update documentation
accordingly. Fix this by replacing 'unicast' with 'host' in
documentation and adding 'other'.

While being at it, make sure these literal values are recognized as
such: Put them in all lower-case (as required by the parser) and in bold
font (to stand out a bit more).

Signed-off-by: Phil Sutter <phil@nwl.cc>
---
 doc/primary-expression.txt | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

Comments

Pablo Neira Ayuso Sept. 17, 2018, 10:20 p.m. UTC | #1
On Fri, Sep 14, 2018 at 11:00:14AM +0200, Phil Sutter wrote:
> Commit 8a7f6de536408 ("meta: fix pkttype name and add 'other' symbol")
> deprecated pkt_type value 'unicast' (for it being misleading) and
> introduced 'host' and 'other' but it did not update documentation
> accordingly. Fix this by replacing 'unicast' with 'host' in
> documentation and adding 'other'.
> 
> While being at it, make sure these literal values are recognized as
> such: Put them in all lower-case (as required by the parser) and in bold
> font (to stand out a bit more).

Applied, thanks.
diff mbox series

Patch

diff --git a/doc/primary-expression.txt b/doc/primary-expression.txt
index 18b4c52f367d2..83edac3e3946a 100644
--- a/doc/primary-expression.txt
+++ b/doc/primary-expression.txt
@@ -112,7 +112,8 @@  Routing Realm (32 bit number). Can be specified numerically or as symbolic name
 |devgroup_type|
 Device group (32 bit number). Can be specified numerically or as symbolic name defined in /etc/iproute2/group.
 |pkt_type|
-Packet type: Unicast (addressed to local host), Broadcast (to all), Multicast (to group).
+Packet type: *host* (addressed to local host), *broadcast* (to all),
+*multicast* (to group), *other* (addressed to another host).
 |=============================
 
 .Using meta expressions