Commit 3848596d authored by Mike Hibler's avatar Mike Hibler

Old change: allow bandwidth of 0 which translates to disabling bandwidth

shaping in dummynet.
parent 6c7b818a
......@@ -174,7 +174,7 @@ while (@ARGV) {
#
SWITCH: for ($opt) {
/^BANDWIDTH=([0-9]*)$/i && do {
if ($1 > 100000 || $1 < 10) {
if ($1 && ($1 > 100000 || $1 < 10)) {
usage();
}
$config{"bandwidth"} = $1;
......
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