summaryrefslogtreecommitdiffstats
path: root/perl-install/network
diff options
context:
space:
mode:
Diffstat (limited to 'perl-install/network')
-rw-r--r--perl-install/network/ethernet.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/perl-install/network/ethernet.pm b/perl-install/network/ethernet.pm
index 00f0b8e26..e1f423791 100644
--- a/perl-install/network/ethernet.pm
+++ b/perl-install/network/ethernet.pm
@@ -123,7 +123,7 @@ sub update_iftab() {
#- do not write zeroed MAC addresses in iftab, it confuses ifrename
$mac_address =~ /^[0:]+$/ and next;
# ifrename supports alsa IEEE1394, EUI64 and IRDA
- member($link, 'ether', 'ieee1394', 'irda', '[27]') or next;
+ member($link_type, 'ether', 'ieee1394', 'irda', '[27]') or next;
substInFile {
s/^$intf\s+.*\n//;
s/^.*\s+$mac_address\n//;