summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStephen Hemminger <stephen.hemminger@vyatta.com>2010-07-20 15:18:54 -0700
committerStephen Hemminger <stephen.hemminger@vyatta.com>2010-07-20 15:18:54 -0700
commit173add19f11c53371c16885b1a12049e191f1170 (patch)
treebe2bd95948cd393dbe4dd3abc42c96e1976c1b97
parent8c2f55a31a1c735fb4ecc1daa5fac72764e0cbb0 (diff)
parentf0ca26cf62a84dc1dfad98a085d027d4ed9488f1 (diff)
downloadvyatta-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.pm3
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;
}
}