summaryrefslogtreecommitdiff
path: root/lib/Vyatta/Qos/TrafficShaper.pm
diff options
context:
space:
mode:
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";
}
}