From: Florian Westphal Date: Fri, 25 Jan 2019 14:08:10 +0000 (+0100) Subject: doc: fix non-working example X-Git-Tag: v0.9.1~151 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=f5821e0b8a4813c0a0b9909f97d0db8855d04ffd;p=thirdparty%2Fnftables.git 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 --- 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