diff options
author | Stephen Hemminger <stephen.hemminger@vyatta.com> | 2009-04-13 16:49:02 -0700 |
---|---|---|
committer | Stephen Hemminger <stephen.hemminger@vyatta.com> | 2009-04-13 16:49:02 -0700 |
commit | d222de9c4110494f2621fe9251254a724fa20dc5 (patch) | |
tree | 571b9b967df0a2c492aaa8060e5bcd2ad93f191f /lib/Vyatta/Qos/RoundRobin.pm | |
parent | 1c240e8ba32f96b002ecaf0b7a1e87e1e15d1605 (diff) | |
download | vyatta-cfg-qos-d222de9c4110494f2621fe9251254a724fa20dc5.tar.gz vyatta-cfg-qos-d222de9c4110494f2621fe9251254a724fa20dc5.zip |
Fix RoundRobin scheduler
Need to change assumptions in ShaperClass about bandwidth and
this goes over to TrafficShaper and RR.
Diffstat (limited to 'lib/Vyatta/Qos/RoundRobin.pm')
-rw-r--r-- | lib/Vyatta/Qos/RoundRobin.pm | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/lib/Vyatta/Qos/RoundRobin.pm b/lib/Vyatta/Qos/RoundRobin.pm index b4174d1..a94da2c 100644 --- a/lib/Vyatta/Qos/RoundRobin.pm +++ b/lib/Vyatta/Qos/RoundRobin.pm @@ -67,9 +67,8 @@ sub commands { my $classes = $self->{_classes}; my $parent = 1; - printf "qdisc add dev %s s handle %x: drr", $dev, 'root', $parent; - my $quantum = $self->{_quantum}; - print " quantum $quantum" if ($quantum); + printf "qdisc add dev %s root handle %x: drr", $dev, $parent; + print " quantum $self->{_quantum}" if ( $self->{_quantum} ); print "\n"; foreach my $class (@$classes) { |