From c409c52ce45d174c8c912ceda314e3a0039fb16f Mon Sep 17 00:00:00 2001 From: Stephen Hemminger Date: Fri, 22 Jan 2010 21:17:04 -0800 Subject: Simple to allow matching vlan tagged frames Just skip matching on ethernet type field, this allows both IP and VLAN frames (and allows IPV6 over vlan). The downside is some false matches possible on non-IP frames, but not a big issue. Bug 4978 --- lib/Vyatta/Qos/Match.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/Vyatta/Qos/Match.pm b/lib/Vyatta/Qos/Match.pm index 327fbd4..7985894 100644 --- a/lib/Vyatta/Qos/Match.pm +++ b/lib/Vyatta/Qos/Match.pm @@ -108,7 +108,7 @@ sub filter { print " protocol $type basic"; } } else { - print " protocol $proto u32"; + print "protocol all u32"; # workaround inconsistent usage in tc u32 match my $sel = $proto; -- cgit v1.2.3