summaryrefslogtreecommitdiff
path: root/lib/Vyatta/Qos/FairQueue.pm
diff options
context:
space:
mode:
Diffstat (limited to 'lib/Vyatta/Qos/FairQueue.pm')
-rw-r--r--lib/Vyatta/Qos/FairQueue.pm8
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/Vyatta/Qos/FairQueue.pm b/lib/Vyatta/Qos/FairQueue.pm
index 327a32b..bc3a872 100644
--- a/lib/Vyatta/Qos/FairQueue.pm
+++ b/lib/Vyatta/Qos/FairQueue.pm
@@ -44,11 +44,11 @@ sub new {
}
sub commands {
- my ( $self, $out, $dev ) = @_;
+ my ( $self, $dev ) = @_;
- print {$out} "qdisc add dev $dev root sfq";
- print {$out} " perturb $self->{_perturb}" if ( defined $self->{_perturb} );
- print {$out} " limit $self->{_limit}" if ( defined $self->{_limit} );
+ print "qdisc add dev $dev root sfq";
+ print " perturb $self->{_perturb}" if ( $self->{_perturb} );
+ print " limit $self->{_limit}" if ( $self->{_limit} );
print "\n";
}