diff options
author | Stephen Hemminger <stephen.hemminger@vyatta.com> | 2008-03-19 11:17:46 -0700 |
---|---|---|
committer | Stephen Hemminger <stephen.hemminger@vyatta.com> | 2008-03-19 11:17:46 -0700 |
commit | e1624917ba2ed574fe350b470762a732a9820cbd (patch) | |
tree | a5fcac330e9839c3d5be154af0b7ca2ccb67087b /scripts/vyatta-qos-util.pl | |
parent | e49e5b53411b50b1c8f13cded1641975f0443fde (diff) | |
download | vyatta-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-x | scripts/vyatta-qos-util.pl | 2 |
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; } |