diff options
author | Olivier Blin <oblin@mandriva.org> | 2005-04-19 21:38:02 +0000 |
---|---|---|
committer | Olivier Blin <oblin@mandriva.org> | 2005-04-19 21:38:02 +0000 |
commit | 6db1e42de1ada6b51507db1fd764e1a7d0fb239c (patch) | |
tree | 5056dbebe097ca00a43c38056ad5ef1a03c6fa5c /perl-install/network | |
parent | 7522dd6234b052429968e039fb643a159c530095 (diff) | |
download | drakx-6db1e42de1ada6b51507db1fd764e1a7d0fb239c.tar drakx-6db1e42de1ada6b51507db1fd764e1a7d0fb239c.tar.gz drakx-6db1e42de1ada6b51507db1fd764e1a7d0fb239c.tar.bz2 drakx-6db1e42de1ada6b51507db1fd764e1a7d0fb239c.tar.xz drakx-6db1e42de1ada6b51507db1fd764e1a7d0fb239c.zip |
fix typo
Diffstat (limited to 'perl-install/network')
-rw-r--r-- | perl-install/network/ethernet.pm | 2 |
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//; |