diff options
Diffstat (limited to 'lib/Vyatta/Qos')
-rw-r--r-- | lib/Vyatta/Qos/WeightedRandom.pm | 1 |
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; |