summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDamien Chaumette <dchaumette@mandriva.com>2003-01-31 16:07:47 +0000
committerDamien Chaumette <dchaumette@mandriva.com>2003-01-31 16:07:47 +0000
commitcc9e04690dc0bd88d158fc9180e7fe24f0f47fcf (patch)
tree319218cfd77907b8c4b586bccebb323e7b29f91a
parent94132315b473b9250dfa95bdbe12cc784dbef75d (diff)
downloaddrakx-cc9e04690dc0bd88d158fc9180e7fe24f0f47fcf.tar
drakx-cc9e04690dc0bd88d158fc9180e7fe24f0f47fcf.tar.gz
drakx-cc9e04690dc0bd88d158fc9180e7fe24f0f47fcf.tar.bz2
drakx-cc9e04690dc0bd88d158fc9180e7fe24f0f47fcf.tar.xz
drakx-cc9e04690dc0bd88d158fc9180e7fe24f0f47fcf.zip
be sure $o->{netcnx}{type} is set when using easy_dhcp
-rw-r--r--perl-install/install_steps_interactive.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/perl-install/install_steps_interactive.pm b/perl-install/install_steps_interactive.pm
index 5cffc7c15..5d0ea9b44 100644
--- a/perl-install/install_steps_interactive.pm
+++ b/perl-install/install_steps_interactive.pm
@@ -712,7 +712,7 @@ sub updateModulesFromFloppy {
sub configureNetwork {
my ($o) = @_;
require network::network;
- network::network::easy_dhcp($o->{netc}, $o->{intf});
+ network::network::easy_dhcp($o->{netc}, $o->{intf}) && $o->{netcnx}{type} = 'lan';
$o->SUPER::configureNetwork();
}