Commit 16cad918 authored by Leigh Stoller's avatar Leigh Stoller

Minor bug fix ...

parent 3b539cbc
......@@ -327,7 +327,7 @@ foreach my $key (keys(%config)) {
# This follows what is done in the parser.
$val = $val / 2.0;
}
else {
elsif ($key eq "lossrate") {
# This follows what is done in the parser.
$val = 1-sqrt(1-$val);
}
......@@ -438,7 +438,7 @@ sub ChangeDelayConfig() {
# This follows what is done in the parser.
$val = $val / 2.0;
}
else {
elsif ($key eq "lossrate") {
# This follows what is done in the parser.
$val = 1-sqrt(1-$val);
}
......@@ -513,7 +513,7 @@ sub ChangeLinkDelayConfig() {
# This follows what is done in the parser.
$val = $val / 2.0;
}
else {
elsif ($key eq "lossrate") {
# This follows what is done in the parser.
$val = 1-sqrt(1-$val);
}
......
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