summaryrefslogtreecommitdiff
path: root/scripts/vyatta-qos-util.pl
diff options
context:
space:
mode:
authorStephen Hemminger <stephen.hemminger@vyatta.com>2008-03-19 11:17:46 -0700
committerStephen Hemminger <stephen.hemminger@vyatta.com>2008-03-19 11:17:46 -0700
commite1624917ba2ed574fe350b470762a732a9820cbd (patch)
treea5fcac330e9839c3d5be154af0b7ca2ccb67087b /scripts/vyatta-qos-util.pl
parente49e5b53411b50b1c8f13cded1641975f0443fde (diff)
downloadvyatta-cfg-qos-e1624917ba2ed574fe350b470762a732a9820cbd.tar.gz
vyatta-cfg-qos-e1624917ba2ed574fe350b470762a732a9820cbd.zip
Better validation of numeric input
Fix for Bug 2763 and related problems. Need better handling of numeric inputs. Real perl programmers don't use a switch, but hash instead.
Diffstat (limited to 'scripts/vyatta-qos-util.pl')
-rwxr-xr-xscripts/vyatta-qos-util.pl2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/vyatta-qos-util.pl b/scripts/vyatta-qos-util.pl
index 36d8a17..545e766 100755
--- a/scripts/vyatta-qos-util.pl
+++ b/scripts/vyatta-qos-util.pl
@@ -36,7 +36,7 @@ if ( defined $rate ) {
}
if ( defined $burst ) {
- my $b = VyattaQosUtil::getSize($burst);
+ my $b = VyattaQosUtil::getBurstSize($burst);
exit 0;
}