diff options
author | Stephen Hemminger <stephen.hemminger@vyatta.com> | 2009-05-27 10:16:04 -0700 |
---|---|---|
committer | Stephen Hemminger <stephen.hemminger@vyatta.com> | 2009-05-27 10:16:04 -0700 |
commit | e35844c1a764d8fe669ff36d2d91f7e0f93593ce (patch) | |
tree | 4020c2ebe1266fdee3a7af73419421f3a1345dde | |
parent | b1782648ab298a96324bfb48dd8e8e7bdddf6249 (diff) | |
download | vyatta-cfg-qos-e35844c1a764d8fe669ff36d2d91f7e0f93593ce.tar.gz vyatta-cfg-qos-e35844c1a764d8fe669ff36d2d91f7e0f93593ce.zip |
Fix missing argument in Netem
Missing interface name in printf
-rw-r--r-- | lib/Vyatta/Qos/NetworkEmulator.pm | 4 |
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}; |