diff options
author | Stephen Hemminger <stephen.hemminger@vyatta.com> | 2010-01-22 21:17:04 -0800 |
---|---|---|
committer | Stephen Hemminger <stephen.hemminger@vyatta.com> | 2010-01-22 21:17:04 -0800 |
commit | c409c52ce45d174c8c912ceda314e3a0039fb16f (patch) | |
tree | 68af89e01961c862ef0537dbefc933b06095a8aa | |
parent | a3ec060d3994dcdce98c87809386f78a9bdabfba (diff) | |
download | vyatta-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.pm | 2 |
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; |