summaryrefslogtreecommitdiffstats
path: root/perl-install
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2003-01-22 11:56:42 +0000
committerPascal Rigaux <pixel@mandriva.com>2003-01-22 11:56:42 +0000
commit0b2abe1abda411d0333a53bab0bcec18eccb2042 (patch)
treeb1727bc2e795f2a35332d647079a213935c528a5 /perl-install
parentfae3701aa886ae882c3fecdeb7b88879d67e97b6 (diff)
downloaddrakx-backup-do-not-use-0b2abe1abda411d0333a53bab0bcec18eccb2042.tar
drakx-backup-do-not-use-0b2abe1abda411d0333a53bab0bcec18eccb2042.tar.gz
drakx-backup-do-not-use-0b2abe1abda411d0333a53bab0bcec18eccb2042.tar.bz2
drakx-backup-do-not-use-0b2abe1abda411d0333a53bab0bcec18eccb2042.tar.xz
drakx-backup-do-not-use-0b2abe1abda411d0333a53bab0bcec18eccb2042.zip
simplify easy_dhcp prototype
Diffstat (limited to 'perl-install')
-rw-r--r--perl-install/install_steps_interactive.pm2
-rw-r--r--perl-install/network/network.pm2
2 files changed, 2 insertions, 2 deletions
diff --git a/perl-install/install_steps_interactive.pm b/perl-install/install_steps_interactive.pm
index 44c189b2f..1cc1b6642 100644
--- a/perl-install/install_steps_interactive.pm
+++ b/perl-install/install_steps_interactive.pm
@@ -710,7 +710,7 @@ sub updateModulesFromFloppy {
sub configureNetwork {
my ($o) = @_;
require network::network;
- network::network::easy_dhcp($o, $o->{netc}, $o->{intf});
+ network::network::easy_dhcp($o->{netc}, $o->{intf});
$o->SUPER::configureNetwork();
}
diff --git a/perl-install/network/network.pm b/perl-install/network/network.pm
index f182d8013..8101859af 100644
--- a/perl-install/network/network.pm
+++ b/perl-install/network/network.pm
@@ -433,7 +433,7 @@ sub read_all_conf {
}
sub easy_dhcp {
- my ($_in, $netc, $intf) = @_;
+ my ($netc, $intf) = @_;
return if text2bool($netc->{NETWORKING});