From c296167385f5d42880f64f878e285392f6e14aa7 Mon Sep 17 00:00:00 2001 From: Thierry Vignaud Date: Tue, 25 Nov 2003 16:05:47 +0000 Subject: fix bogus use of old netwok module instead of network::network --- perl-install/standalone/drakconnect | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'perl-install') 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"); -- cgit v1.2.1