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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxx>
---
 doc/primary-expression.txt | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

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
-- 
2.18.0




[Index of Archives]     [Netfitler Users]     [LARTC]     [Bugtraq]     [Yosemite Forum]

  Powered by Linux