summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorOlivier Blin <oblin@mandriva.org>2005-04-19 21:38:02 +0000
committerOlivier Blin <oblin@mandriva.org>2005-04-19 21:38:02 +0000
commit6db1e42de1ada6b51507db1fd764e1a7d0fb239c (patch)
tree5056dbebe097ca00a43c38056ad5ef1a03c6fa5c
parent7522dd6234b052429968e039fb643a159c530095 (diff)
downloaddrakx-backup-do-not-use-6db1e42de1ada6b51507db1fd764e1a7d0fb239c.tar
drakx-backup-do-not-use-6db1e42de1ada6b51507db1fd764e1a7d0fb239c.tar.gz
drakx-backup-do-not-use-6db1e42de1ada6b51507db1fd764e1a7d0fb239c.tar.bz2
drakx-backup-do-not-use-6db1e42de1ada6b51507db1fd764e1a7d0fb239c.tar.xz
drakx-backup-do-not-use-6db1e42de1ada6b51507db1fd764e1a7d0fb239c.zip
fix typo
-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 87c7294b3..298ced456 100644
--- a/perl-install/network/ethernet.pm
+++ b/perl-install/network/ethernet.pm
@@ -133,7 +133,7 @@ sub update_iftab() {
foreach my $intf (detect_devices::getNet()) {
my ($link_type, $mac_address) = get_eth_card_mac_address($intf) or next;
#- do not write zeroed MAC addresses in iftab, it confuses ifrename
- $mac_address = /^[0:]+$/ and next;
+ $mac_address =~ /^[0:]+$/ and next;
my $descriptor = ${{ ether => 'mac', ieee1394 => 'mac_ieee1394' }}{$link_type} or next;
substInFile {
s/^$intf\s+.*\n//;