summaryrefslogtreecommitdiff
path: root/lib/Vyatta/Qos/RoundRobin.pm
diff options
context:
space:
mode:
authorStephen Hemminger <stephen.hemminger@vyatta.com>2010-07-30 11:52:27 -0700
committerStephen Hemminger <stephen.hemminger@vyatta.com>2010-08-17 17:04:12 -0700
commita88854c2b8b4a3f480c283c78476f456534bb65d (patch)
tree49464c27ae033c05fe1447d678a3e41b1af3d01b /lib/Vyatta/Qos/RoundRobin.pm
parent43948e58dbb50251ae647e153fe204eac84edc3e (diff)
downloadvyatta-cfg-qos-a88854c2b8b4a3f480c283c78476f456534bb65d.tar.gz
vyatta-cfg-qos-a88854c2b8b4a3f480c283c78476f456534bb65d.zip
Make round-robin quantum per class
Bug 5958 (cherry picked from commit 7f42350146525544bd38db2426d6f5c7b99302c2)
Diffstat (limited to 'lib/Vyatta/Qos/RoundRobin.pm')
-rw-r--r--lib/Vyatta/Qos/RoundRobin.pm4
1 files changed, 1 insertions, 3 deletions
diff --git a/lib/Vyatta/Qos/RoundRobin.pm b/lib/Vyatta/Qos/RoundRobin.pm
index d9cedfd..07aa8f7 100644
--- a/lib/Vyatta/Qos/RoundRobin.pm
+++ b/lib/Vyatta/Qos/RoundRobin.pm
@@ -82,9 +82,7 @@ sub commands {
my $classes = $self->{_classes};
my $parent = 1;
- printf "qdisc add dev %s root handle %x: drr", $dev, $parent;
- print " quantum $self->{_quantum}" if ( $self->{_quantum} );
- print "\n";
+ printf "qdisc add dev %s root handle %x: drr\n", $dev, $parent;
foreach my $class (sort { $a->{id} <=> $b->{id} } @$classes) {
$class->gen_class( $dev, 'drr', $parent );