summaryrefslogtreecommitdiffstats
path: root/doc/payload-expression.txt
diff options
context:
space:
mode:
authorFlorian Westphal <fw@strlen.de>2019-01-25 15:08:10 +0100
committerFlorian Westphal <fw@strlen.de>2019-01-25 15:08:44 +0100
commitf5821e0b8a4813c0a0b9909f97d0db8855d04ffd (patch)
tree6f1023a7e5190a2d99d1504d203bf8f4225854a9 /doc/payload-expression.txt
parentf30e5fe55f252558f6b78c436595051b0506b8c6 (diff)
doc: fix non-working example
nft doesn't have the context to translate "dns" or "http" as being service names here. Signed-off-by: Florian Westphal <fw@strlen.de>
Diffstat (limited to 'doc/payload-expression.txt')
-rw-r--r--doc/payload-expression.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/payload-expression.txt b/doc/payload-expression.txt
index abaf52f0..28061f36 100644
--- a/doc/payload-expression.txt
+++ b/doc/payload-expression.txt
@@ -481,7 +481,7 @@ Transport Header, for example TCP
.Matching destination port of both UDP and TCP
----------------------------------------------
-inet filter input meta l4proto {tcp, udp} @th,16,16 { dns, http }
+inet filter input meta l4proto {tcp, udp} @th,16,16 { 53, 80 }
-----------------------------------------------------------------
.Rewrite arp packet target hardware address if target protocol address matches a given address