From 720130c8ada5754e7aa8ba539301d5842d63815f Mon Sep 17 00:00:00 2001 From: Olivier Blin Date: Fri, 18 Mar 2005 17:12:28 +0000 Subject: remove other mac address occurrences in iftab --- perl-install/network/ethernet.pm | 1 + 1 file changed, 1 insertion(+) (limited to 'perl-install/network') diff --git a/perl-install/network/ethernet.pm b/perl-install/network/ethernet.pm index d2a32e54e..615d6c809 100644 --- a/perl-install/network/ethernet.pm +++ b/perl-install/network/ethernet.pm @@ -135,6 +135,7 @@ sub update_iftab() { my $descriptor = ${{ ether => 'mac', ieee1394 => 'mac_ieee1394' }}{$link_type} or next; substInFile { s/^$intf\s+.*\n//; + s/^.*\s+$mac_address\n//; $_ .= qq($intf\t$descriptor $mac_address\n) if eof; } "$::prefix/etc/iftab"; } -- cgit v1.2.1