]> git.ipfire.org Git - thirdparty/iproute2.git/commitdiff
man: tc-vlan.8: Fix for incorrect example
authorPhil Sutter <phil@nwl.cc>
Fri, 23 Mar 2018 20:18:56 +0000 (21:18 +0100)
committerStephen Hemminger <stephen@networkplumber.org>
Tue, 27 Mar 2018 16:13:28 +0000 (09:13 -0700)
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 <phil@nwl.cc>
Signed-off-by: Stephen Hemminger <stephen@networkplumber.org>
man/man8/tc-vlan.8

index 59c81e86378d0b42a37d76d1d0e6fe9900124d26..f5ffc25f054ed9bfb8a93724cd74b951b911e8ef 100644 (file)
@@ -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