summaryrefslogtreecommitdiff
path: root/lib/Vyatta/Qos/TrafficLimiter.pm
diff options
context:
space:
mode:
Diffstat (limited to 'lib/Vyatta/Qos/TrafficLimiter.pm')
-rw-r--r--lib/Vyatta/Qos/TrafficLimiter.pm4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/Vyatta/Qos/TrafficLimiter.pm b/lib/Vyatta/Qos/TrafficLimiter.pm
index e9deda9..5aea0f9 100644
--- a/lib/Vyatta/Qos/TrafficLimiter.pm
+++ b/lib/Vyatta/Qos/TrafficLimiter.pm
@@ -21,7 +21,7 @@ use strict;
use warnings;
require Vyatta::Config;
-use Vyatta::Qos::LimiterClass;
+require Vyatta::Qos::LimiterClass;
my %fields = (
_level => undef,
@@ -70,7 +70,7 @@ sub _define {
foreach my $id ( $config->listNodes("class") ) {
$config->setLevel("$level class $id");
- push @classes, new LimiterClass( $config, $id );
+ push @classes, new Vyatta::Qos::LimiterClass( $config, $id );
}
$self->{_classes} = \@classes;
}