summaryrefslogtreecommitdiff
path: root/lib/Vyatta
diff options
context:
space:
mode:
Diffstat (limited to 'lib/Vyatta')
-rw-r--r--lib/Vyatta/Qos/NetworkEmulator.pm4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/Vyatta/Qos/NetworkEmulator.pm b/lib/Vyatta/Qos/NetworkEmulator.pm
index 4232ff2..1fb9fc6 100644
--- a/lib/Vyatta/Qos/NetworkEmulator.pm
+++ b/lib/Vyatta/Qos/NetworkEmulator.pm
@@ -63,9 +63,9 @@ sub commands {
printf "qdisc add dev %s root handle 1:0 tbf rate %s burst %s\n",
$dev, $rate, $burst;
- printf "qdisc add dev %s parent 1:1 handle 10: netem";
+ printf "qdisc add dev %s parent 1:1 handle 10: netem", $dev;
} else {
- printf "qdisc add dev %s root netem";
+ printf "qdisc add dev %s root netem", $dev;
}
my $delay = $self->{_delay};