path: root/doc
diff options
authorFlorian Westphal <>2019-01-25 15:08:10 +0100
committerFlorian Westphal <>2019-01-25 15:08:44 +0100
commitf5821e0b8a4813c0a0b9909f97d0db8855d04ffd (patch)
tree6f1023a7e5190a2d99d1504d203bf8f4225854a9 /doc
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 <>
Diffstat (limited to 'doc')
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