Commit 1718a418 authored by David Johnson's avatar David Johnson

Ugh, brain dead bug -- only if we need imq devices for duplex linkdelay

shaping, then increment imqidx.
parent 81b500c0
......@@ -623,15 +623,15 @@ sub LinkDelaySetup()
}
$iface =~ /\D+(\d+)/;
my $imqdev = "imq$1";
my $imqnum = $1;
if ($contained) {
$imqdev = $imqdevs[$imqidx++];
if ($imqdev =~ /\D+(\d+)/) {
$imqnum = $1;
}
}
if ($type eq "duplex") {
my $imqdev = "imq$1";
my $imqnum = $1;
if ($contained) {
$imqdev = $imqdevs[$imqidx++];
if ($imqdev =~ /\D+(\d+)/) {
$imqnum = $1;
}
}
print DEL "$TC qdisc add dev $imqdev handle $pipeno ";
print DEL "root plr $rplr\n";
......
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