summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorStephen Hemminger <stephen.hemminger@vyatta.com>2009-05-19 15:43:41 -0700
committerStephen Hemminger <stephen.hemminger@vyatta.com>2009-05-19 15:43:41 -0700
commite1ae2edb9fe3cfd41535bb6f0bd2132e2b23ad47 (patch)
treed7a47aceb0324f31505699e32a641f1a558e9b66 /lib
parentf0e2cf5e11c04be0c6d2739be60802edf0924f45 (diff)
downloadvyatta-cfg-qos-e1ae2edb9fe3cfd41535bb6f0bd2132e2b23ad47.tar.gz
vyatta-cfg-qos-e1ae2edb9fe3cfd41535bb6f0bd2132e2b23ad47.zip
Fix exports for new module
The exports for Util.pm changed.
Diffstat (limited to 'lib')
-rw-r--r--lib/Vyatta/Qos/ShaperClass.pm2
-rw-r--r--lib/Vyatta/Qos/TrafficShaper.pm2
-rw-r--r--lib/Vyatta/Qos/Util.pm2
-rw-r--r--lib/Vyatta/Qos/WeightedRandom.pm1
4 files changed, 4 insertions, 3 deletions
diff --git a/lib/Vyatta/Qos/ShaperClass.pm b/lib/Vyatta/Qos/ShaperClass.pm
index 5e1db8d..482ec09 100644
--- a/lib/Vyatta/Qos/ShaperClass.pm
+++ b/lib/Vyatta/Qos/ShaperClass.pm
@@ -21,7 +21,7 @@ use warnings;
require Vyatta::Config;
use Vyatta::Qos::Match;
-use Vyatta::Qos::Util qw/getDsfield getRate/;
+use Vyatta::Qos::Util qw/getDsfield getRate RedParam/;
sub new {
diff --git a/lib/Vyatta/Qos/TrafficShaper.pm b/lib/Vyatta/Qos/TrafficShaper.pm
index eaf2f3b..c808c7d 100644
--- a/lib/Vyatta/Qos/TrafficShaper.pm
+++ b/lib/Vyatta/Qos/TrafficShaper.pm
@@ -24,7 +24,7 @@ use warnings;
require Vyatta::Config;
require Vyatta::Qos::ShaperClass;
-use Vyatta::Qos::Util qw/getRate interfaceRate/;
+use Vyatta::Qos::Util qw/getRate getAutoRate/;
# Create a new instance based on config information
sub new {
diff --git a/lib/Vyatta/Qos/Util.pm b/lib/Vyatta/Qos/Util.pm
index 72b4963..1d12bb3 100644
--- a/lib/Vyatta/Qos/Util.pm
+++ b/lib/Vyatta/Qos/Util.pm
@@ -21,7 +21,7 @@ use warnings;
our @EXPORT =
qw(getRate getPercent getBurstSize getProtocol getDsfield getTime getAutoRate);
-our @EXPORT_OK = qw(interfaceRate getIfIndex);
+our @EXPORT_OK = qw(getIfIndex RedParam);
use base qw(Exporter);
sub get_num {
diff --git a/lib/Vyatta/Qos/WeightedRandom.pm b/lib/Vyatta/Qos/WeightedRandom.pm
index 12e591a..9397299 100644
--- a/lib/Vyatta/Qos/WeightedRandom.pm
+++ b/lib/Vyatta/Qos/WeightedRandom.pm
@@ -21,6 +21,7 @@ use warnings;
require Vyatta::Config;
require Vyatta::Qos::ShaperClass;
+use Vyatta::Qos::Util qw/getRate getAutoRate/;
my $wred = 'weighted-random-detect';