diff options
author | Stephen Hemminger <stephen.hemminger@vyatta.com> | 2010-01-12 08:00:04 -0800 |
---|---|---|
committer | Stephen Hemminger <stephen.hemminger@vyatta.com> | 2010-01-12 08:00:04 -0800 |
commit | 092a710bbe0ac05607ca9d4417b534597849aaa9 (patch) | |
tree | dce90d3674e31cd196e3f0464e9862970d64b8c0 /lib/Vyatta/Qos/Util.pm | |
parent | 1f8762b9f955bd2b4c024012df783a1d51191a86 (diff) | |
parent | 33b8a1ebeb7925890bd744d1bda5f5c6c686c537 (diff) | |
download | vyatta-cfg-qos-092a710bbe0ac05607ca9d4417b534597849aaa9.tar.gz vyatta-cfg-qos-092a710bbe0ac05607ca9d4417b534597849aaa9.zip |
Merge branch 'kenwood' of suva.vyatta.com:/git/vyatta-cfg-qos into kenwood
Diffstat (limited to 'lib/Vyatta/Qos/Util.pm')
-rw-r--r-- | lib/Vyatta/Qos/Util.pm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Vyatta/Qos/Util.pm b/lib/Vyatta/Qos/Util.pm index 242e2b4..9686120 100644 --- a/lib/Vyatta/Qos/Util.pm +++ b/lib/Vyatta/Qos/Util.pm @@ -300,7 +300,7 @@ sub ethtoolRate { # Get rate of real device (ignore vlan) $dev =~ s/\.[0-9]+$//; - open( my $ethtool, "/usr/sbin/ethtool $dev 2>/dev/null |" ) + open( my $ethtool, "sudo /usr/sbin/ethtool $dev 2>/dev/null |" ) or die "ethtool failed: $!\n"; # ethtool produces: |