diff options
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) { |