summaryrefslogtreecommitdiffstats
path: root/lib/network
diff options
context:
space:
mode:
Diffstat (limited to 'lib/network')
-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)