summaryrefslogtreecommitdiffstats
path: root/lib/network/connection/ethernet.pm
diff options
context:
space:
mode:
authorOlivier Blin <oblin@mandriva.com>2008-03-05 21:13:43 +0000
committerOlivier Blin <oblin@mandriva.com>2008-03-05 21:13:43 +0000
commit329105c08d86ac3a67cce70ca2f0beaea4285d76 (patch)
tree6969c2b9c238265c6cf91615a7a10cff0e6a6f0e /lib/network/connection/ethernet.pm
parent0177f434b7cd8d5e394f5858ee672d6991f2480b (diff)
downloaddrakx-net-329105c08d86ac3a67cce70ca2f0beaea4285d76.tar
drakx-net-329105c08d86ac3a67cce70ca2f0beaea4285d76.tar.gz
drakx-net-329105c08d86ac3a67cce70ca2f0beaea4285d76.tar.bz2
drakx-net-329105c08d86ac3a67cce70ca2f0beaea4285d76.tar.xz
drakx-net-329105c08d86ac3a67cce70ca2f0beaea4285d76.zip
perl_checker fix
Diffstat (limited to 'lib/network/connection/ethernet.pm')
-rw-r--r--lib/network/connection/ethernet.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/network/connection/ethernet.pm b/lib/network/connection/ethernet.pm
index da83097..1e680af 100644
--- a/lib/network/connection/ethernet.pm
+++ b/lib/network/connection/ethernet.pm
@@ -438,7 +438,7 @@ sub get_eth_cards {
# 4) try to lookup a device by hardware address for device description:
# maybe should have we try sysfs first for robustness?
my @devices = mapIntfToDevice($interface);
- ($description) = $devices[0]->{description} if @devices;
+ ($description) = $devices[0]{description} if @devices;
}
# 5) try to match a device through sysfs for driver & device description:
# (eg: ipw2100 driver for intel centrino do not support ETHTOOL)