From f5821e0b8a4813c0a0b9909f97d0db8855d04ffd Mon Sep 17 00:00:00 2001 From: Florian Westphal Date: Fri, 25 Jan 2019 15:08:10 +0100 Subject: 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 --- doc/payload-expression.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'doc/payload-expression.txt') 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 -- cgit v1.2.3