summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStephen Hemminger <stephen.hemminger@vyatta.com>2010-01-22 21:17:04 -0800
committerStephen Hemminger <stephen.hemminger@vyatta.com>2010-01-22 21:17:04 -0800
commitc409c52ce45d174c8c912ceda314e3a0039fb16f (patch)
tree68af89e01961c862ef0537dbefc933b06095a8aa
parenta3ec060d3994dcdce98c87809386f78a9bdabfba (diff)
downloadvyatta-cfg-qos-c409c52ce45d174c8c912ceda314e3a0039fb16f.tar.gz
vyatta-cfg-qos-c409c52ce45d174c8c912ceda314e3a0039fb16f.zip
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
-rw-r--r--lib/Vyatta/Qos/Match.pm2
1 files changed, 1 insertions, 1 deletions
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;