summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPhil Sutter <phil@nwl.cc>2018-09-14 11:00:14 +0200
committerPablo Neira Ayuso <pablo@netfilter.org>2018-09-18 00:21:19 +0200
commitd75e9184bb51a1311ac950b13384f329836d597e (patch)
tree75c00ec2cd992e914a0fa5715952870c62027cdf
parent68e21ac5b2f5f7e60d3e1b12a3a2a05ed542f6fa (diff)
nft.8: Update meta pkt_type value description
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> Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
-rw-r--r--doc/primary-expression.txt3
1 files changed, 2 insertions, 1 deletions
diff --git a/doc/primary-expression.txt b/doc/primary-expression.txt
index 18b4c52f..83edac3e 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