summaryrefslogtreecommitdiff
path: root/lib/Vyatta/Qos/TrafficShaper.pm
diff options
context:
space:
mode:
authorStephen Hemminger <stephen.hemminger@vyatta.com>2008-12-08 12:01:23 -0800
committerStephen Hemminger <stephen.hemminger@vyatta.com>2008-12-08 12:01:23 -0800
commit5bf71c91933ee022e3fd451d1625aba0e3953499 (patch)
treee6acb33245948993d60e58a1c741180856d7bbba /lib/Vyatta/Qos/TrafficShaper.pm
parentcf882cc974ba76e3853a7b9d9a263ec8d3286b31 (diff)
downloadvyatta-cfg-qos-5bf71c91933ee022e3fd451d1625aba0e3953499.tar.gz
vyatta-cfg-qos-5bf71c91933ee022e3fd451d1625aba0e3953499.zip
Ignore description in match specification
Bugfix 3976 Need to ignore description when checking
Diffstat (limited to 'lib/Vyatta/Qos/TrafficShaper.pm')
-rw-r--r--lib/Vyatta/Qos/TrafficShaper.pm1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/Vyatta/Qos/TrafficShaper.pm b/lib/Vyatta/Qos/TrafficShaper.pm
index 18f4898..ca0baa7 100644
--- a/lib/Vyatta/Qos/TrafficShaper.pm
+++ b/lib/Vyatta/Qos/TrafficShaper.pm
@@ -311,6 +311,7 @@ sub _define {
foreach my $class ( $config->listNodes("class")) {
foreach my $match ( $config->listNodes("class $class match") ) {
foreach my $type ( $config->listNodes("class $class match $match") ) {
+ next if ($type eq 'description');
$matchTypes{$type} = "$class match $match";
}
}