summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lib/Vyatta/Qos/TrafficShaper.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Vyatta/Qos/TrafficShaper.pm b/lib/Vyatta/Qos/TrafficShaper.pm
index 5d10be8..f7bfc35 100644
--- a/lib/Vyatta/Qos/TrafficShaper.pm
+++ b/lib/Vyatta/Qos/TrafficShaper.pm
@@ -115,7 +115,7 @@ sub _define {
$config->setLevel("$level default");
- push @classes, new Vyatta::Qos::Vyatta::Qos::ShaperClass($config, -1);
+ push @classes, new Vyatta::Qos::Vyatta::Qos::ShaperClass($config);
$config->setLevel($level);
foreach my $id ( $config->listNodes("class") ) {