From: Phil Sutter Date: Fri, 23 Mar 2018 20:18:56 +0000 (+0100) Subject: man: tc-vlan.8: Fix for incorrect example X-Git-Tag: v4.16.0~21 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8ee38d833ccb1863f06634e12c5236b0ef7c2d76;p=thirdparty%2Fiproute2.git man: tc-vlan.8: Fix for incorrect example This has to be a second match statement to the same u32 filter, not a second one (which tc-filter doesn't support at all). Signed-off-by: Phil Sutter Signed-off-by: Stephen Hemminger --- diff --git a/man/man8/tc-vlan.8 b/man/man8/tc-vlan.8 index 59c81e863..f5ffc25f0 100644 --- a/man/man8/tc-vlan.8 +++ b/man/man8/tc-vlan.8 @@ -103,7 +103,7 @@ into VLAN ID 123: #tc qdisc add dev eth0 handle ffff: ingress #tc filter add dev eth0 parent ffff: pref 11 protocol ip \\ u32 match ip protocol 1 0xff flowid 1:1 \\ - u32 match ip src 10.0.0.2 flowid 1:1 \\ + match ip src 10.0.0.2 flowid 1:1 \\ action vlan push id 123 .EE .RE