Commit 8e5da11f authored by Leigh B Stoller's avatar Leigh B Stoller

Minor fix to traffic shaping. Bizarre tc syntax.

parent a625848e
......@@ -2632,8 +2632,9 @@ sub createExpNetworkScript($$$$$$$)
"htb rate ${rbandw} ceil ${rbandw}");
if ($type eq "duplex") {
# Do not use a colon: in the handle. It BREAKS!
push(@cmds,
"$TC qdisc add dev $ifb handle 2:2 parent 2:1 ".
"$TC qdisc add dev $ifb handle 3 parent 2:1 ".
"netem drop $rplr delay ${rdelay}us");
}
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment