summaryrefslogtreecommitdiff
path: root/lib/Vyatta
diff options
context:
space:
mode:
authorStephen Hemminger <stephen.hemminger@vyatta.com>2009-05-20 14:58:43 -0700
committerStephen Hemminger <stephen.hemminger@vyatta.com>2009-05-20 14:58:43 -0700
commita1d63b56887e196bade8196a7a27132ee03b48ae (patch)
tree8bd9ba58bcc1cd1a1d4dcb297d5b7f1a8d423058 /lib/Vyatta
parent388c273b8583d448a0414e03a656b91545b55d7f (diff)
downloadvyatta-cfg-qos-a1d63b56887e196bade8196a7a27132ee03b48ae.tar.gz
vyatta-cfg-qos-a1d63b56887e196bade8196a7a27132ee03b48ae.zip
Missing setup of top level rate
Diffstat (limited to 'lib/Vyatta')
-rw-r--r--lib/Vyatta/Qos/WeightedRandom.pm1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/Vyatta/Qos/WeightedRandom.pm b/lib/Vyatta/Qos/WeightedRandom.pm
index 6e30839..f97cc8e 100644
--- a/lib/Vyatta/Qos/WeightedRandom.pm
+++ b/lib/Vyatta/Qos/WeightedRandom.pm
@@ -39,6 +39,7 @@ sub new {
my $self = {};
my $class = ref($that) || $that;
bless $self, $class;
+ $self->{_rate} = $rate;
$self->{_classes} = \@classes;
return $self;