summaryrefslogtreecommitdiff
path: root/lib/Vyatta/Qos/RateLimiter.pm
diff options
context:
space:
mode:
Diffstat (limited to 'lib/Vyatta/Qos/RateLimiter.pm')
-rw-r--r--lib/Vyatta/Qos/RateLimiter.pm5
1 files changed, 2 insertions, 3 deletions
diff --git a/lib/Vyatta/Qos/RateLimiter.pm b/lib/Vyatta/Qos/RateLimiter.pm
index f7585e6..c20646e 100644
--- a/lib/Vyatta/Qos/RateLimiter.pm
+++ b/lib/Vyatta/Qos/RateLimiter.pm
@@ -49,10 +49,9 @@ sub new {
}
sub commands {
- my ( $self, $out, $dev ) = @_;
-
+ my ( $self, $dev ) = @_;
- printf {$out} "qdisc add dev %s root tbf rate %s latency %s burst %s\n",
+ printf "qdisc add dev %s root tbf rate %s latency %s burst %s\n",
$dev, $self->{_rate}, $self->{_latency}, $self->{_burst};
}