diff options
author | Stephen Hemminger <stephen.hemminger@vyatta.com> | 2008-04-12 13:30:02 -0700 |
---|---|---|
committer | Stephen Hemminger <stephen.hemminger@vyatta.com> | 2008-04-12 13:30:02 -0700 |
commit | b1b2cca81486b52e41e705583370b464dc4007ba (patch) | |
tree | 86b5b36f5e202eb3ce0135afcaa2da6f77940bdf | |
parent | 5d55f49def2ed0fd5740a4a345b756fce1892553 (diff) | |
download | vyatta-cfg-qos-b1b2cca81486b52e41e705583370b464dc4007ba.tar.gz vyatta-cfg-qos-b1b2cca81486b52e41e705583370b464dc4007ba.zip |
change error message when speed can not be determined
Slightly better message for the case of using auto value for bandwidth
on a device does not support it.
Bug: 3104
-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 4ea494c..b3a05a6 100644 --- a/scripts/VyattaQosTrafficShaper.pm +++ b/scripts/VyattaQosTrafficShaper.pm @@ -255,7 +255,7 @@ sub _getAutoRate { if ( $rate eq "auto" ) { $rate = VyattaQosUtil::interfaceRate($dev); if ( ! defined $rate ) { - die "Interface speed defined as auto but can't get rate from $dev\n"; + die "Interface $dev speed cannot be determined; use explicit bandwidth value\n"; } } else { $rate = VyattaQosUtil::getRate($rate); |