summaryrefslogtreecommitdiffstats
path: root/perl-install
diff options
context:
space:
mode:
authorThierry Vignaud <tvignaud@mandriva.org>2003-11-25 16:05:47 +0000
committerThierry Vignaud <tvignaud@mandriva.org>2003-11-25 16:05:47 +0000
commitc296167385f5d42880f64f878e285392f6e14aa7 (patch)
treedc855fa7e185734bd5e993fec9fcdf1bfc465f2a /perl-install
parent0c56ebaba505de5f00839a49c623aa214e01c838 (diff)
downloaddrakx-c296167385f5d42880f64f878e285392f6e14aa7.tar
drakx-c296167385f5d42880f64f878e285392f6e14aa7.tar.gz
drakx-c296167385f5d42880f64f878e285392f6e14aa7.tar.bz2
drakx-c296167385f5d42880f64f878e285392f6e14aa7.tar.xz
drakx-c296167385f5d42880f64f878e285392f6e14aa7.zip
fix bogus use of old netwok module instead of network::network
Diffstat (limited to 'perl-install')
-rwxr-xr-xperl-install/standalone/drakconnect4
1 files changed, 2 insertions, 2 deletions
diff --git a/perl-install/standalone/drakconnect b/perl-install/standalone/drakconnect
index cc3ad4556..4e4590f5a 100755
--- a/perl-install/standalone/drakconnect
+++ b/perl-install/standalone/drakconnect
@@ -355,7 +355,7 @@ sub update_list() {
}
sub apply() {
- network::sethostname($netc) if is_dynamic_ip($intf);
+ network::network::sethostname($netc) if is_dynamic_ip($intf);
$netcnx->{type} eq 'modem' and network::modem::ppp_configure($in, $netcnx->{$netcnx->{type}});
$netcnx->{type} eq 'isdn_internal' and network::isdn::isdn_write_config_backend($netcnx->{$netcnx->{type}}, $netc, $netcnx); #$light
@@ -365,7 +365,7 @@ sub apply() {
$netcnx->{type} =~ /adsl/ and network::adsl::adsl_conf_backend($netcnx->{$netcnx->{type}}, $netc, $a, $netcnx);
$netcnx->{dhcp_client} and $netc->{dhcp_client} = $netcnx->{dhcp_client};
- network::configureNetwork2($in, $prefix, $netc, $intf);
+ network::network::configureNetwork2($in, $prefix, $netc, $intf);
$netcnx->{type} =~ /adsl/ or system("/sbin/chkconfig --del adsl 2> /dev/null");
$netcnx->{type} !~ /adsl_p/ and system("$prefix/etc/rc.d/init.d/network restart");