diff options
author | Stephen Hemminger <stephen.hemminger@vyatta.com> | 2010-07-20 15:18:54 -0700 |
---|---|---|
committer | Stephen Hemminger <stephen.hemminger@vyatta.com> | 2010-07-20 15:18:54 -0700 |
commit | 173add19f11c53371c16885b1a12049e191f1170 (patch) | |
tree | be2bd95948cd393dbe4dd3abc42c96e1976c1b97 | |
parent | 8c2f55a31a1c735fb4ecc1daa5fac72764e0cbb0 (diff) | |
parent | f0ca26cf62a84dc1dfad98a085d027d4ed9488f1 (diff) | |
download | vyatta-cfg-qos-173add19f11c53371c16885b1a12049e191f1170.tar.gz vyatta-cfg-qos-173add19f11c53371c16885b1a12049e191f1170.zip |
Merge branch 'larkspur' of vm:git/vyatta-cfg-qos into larkspur
-rw-r--r-- | lib/Vyatta/Qos/ShaperClass.pm | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/Vyatta/Qos/ShaperClass.pm b/lib/Vyatta/Qos/ShaperClass.pm index a495863..f895239 100644 --- a/lib/Vyatta/Qos/ShaperClass.pm +++ b/lib/Vyatta/Qos/ShaperClass.pm @@ -187,9 +187,10 @@ sub redValidate { my $minbw = ( 3 * AVGPKT * 8 ) / LATENCY; print STDERR "Configuration error in: $level\n"; - die + printf STDERR "Random-detect queue type requires effective bandwidth of %d Kbit/sec or greater\n", $minbw; + exit 1; } } |