diff options
-rw-r--r-- | lib/Vyatta/Qos/RandomDetect.pm | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/Vyatta/Qos/RandomDetect.pm b/lib/Vyatta/Qos/RandomDetect.pm index 6e6dad0..e7f16f3 100644 --- a/lib/Vyatta/Qos/RandomDetect.pm +++ b/lib/Vyatta/Qos/RandomDetect.pm @@ -64,8 +64,8 @@ sub getPrecedence { $pred{qmin} = $config->returnValue('minimum-threshold'); if ($pred{qmin}) { - die "min-threshold: $pred{qmin} > max-threshold: $pred{qmax}\n" - if ($pred{qmin} > $pred{qmax}); + die "min-threshold: $pred{qmin} >= max-threshold: $pred{qmax}\n" + if ($pred{qmin} >= $pred{qmax}); } else { $pred{qmin} = ((9 + $i) * $pred{qmax})/ 18; } |