From 69907ed1e861483d4063a1eec3662690681651a7 Mon Sep 17 00:00:00 2001 From: Pascal Rigaux Date: Fri, 27 Aug 1999 10:58:06 +0000 Subject: no_comment --- perl-install/install_steps_interactive.pm | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) (limited to 'perl-install/install_steps_interactive.pm') diff --git a/perl-install/install_steps_interactive.pm b/perl-install/install_steps_interactive.pm index 1ad5d3e2a..96f2712f0 100644 --- a/perl-install/install_steps_interactive.pm +++ b/perl-install/install_steps_interactive.pm @@ -126,12 +126,7 @@ sub configureNetwork($) { my @l = first(network::getNet()); @l = ($l[0]) unless $::expert; # keep only one - foreach my $dev (@l) { - my ($l) = grep { $_->{DEVICE} eq $dev } @{$o->{intf}}; - - push @{$o->{intf}}, $l = { DEVICE => $dev } unless $l; - $o->configureNetworkIntf($l); - } + $o->configureNetworkIntf(network::findIntf($o->{intf}, $_)) foreach @l; $o->configureNetworkNet($o->{netc} ||= {}); } $o->SUPER::configureNetwork; -- cgit v1.2.1