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 <phil@nwl.cc> Signed-off-by: Stephen Hemminger <stephen@networkplumber.org>
This commit is contained in:
parent
da7a1aa7da
commit
8ee38d833c
|
|
@ -103,7 +103,7 @@ into VLAN ID 123:
|
||||||
#tc qdisc add dev eth0 handle ffff: ingress
|
#tc qdisc add dev eth0 handle ffff: ingress
|
||||||
#tc filter add dev eth0 parent ffff: pref 11 protocol ip \\
|
#tc filter add dev eth0 parent ffff: pref 11 protocol ip \\
|
||||||
u32 match ip protocol 1 0xff flowid 1:1 \\
|
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
|
action vlan push id 123
|
||||||
.EE
|
.EE
|
||||||
.RE
|
.RE
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue