diff options
author | Stephen Hemminger <stephen.hemminger@vyatta.com> | 2008-02-04 21:45:34 -0800 |
---|---|---|
committer | Stephen Hemminger <stephen.hemminger@vyatta.com> | 2008-02-04 21:45:34 -0800 |
commit | 77f0136069ca2c4040fe7782ee87089dc11f086b (patch) | |
tree | e924251214e6c3495e424af6f9627806fdce22dd /scripts/VyattaQosTrafficShaper.pm | |
parent | 9918f96c8aa7da45f27594f372c28d7f6e720e73 (diff) | |
download | vyatta-cfg-qos-77f0136069ca2c4040fe7782ee87089dc11f086b.tar.gz vyatta-cfg-qos-77f0136069ca2c4040fe7782ee87089dc11f086b.zip |
fix parsing of ethtool output for auto rate processing
Fix a number of perl scoping bugs that kept auto rate processing
from working.
Diffstat (limited to 'scripts/VyattaQosTrafficShaper.pm')
-rw-r--r-- | scripts/VyattaQosTrafficShaper.pm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/VyattaQosTrafficShaper.pm b/scripts/VyattaQosTrafficShaper.pm index d7b7c02..b9ece81 100644 --- a/scripts/VyattaQosTrafficShaper.pm +++ b/scripts/VyattaQosTrafficShaper.pm @@ -134,7 +134,7 @@ sub _getAutoRate { my ($rate, $dev) = @_; if ( $rate eq "auto" ) { - my $rate = VyattaQosUtil::interfaceRate($dev); + $rate = VyattaQosUtil::interfaceRate($dev); if ( ! defined $rate ) { die "Auto speed setting but can't get rate from $dev\n"; } |