summaryrefslogtreecommitdiffstats
path: root/perl-install/ftp.pm
diff options
context:
space:
mode:
authorThierry Vignaud <tvignaud@mandriva.org>2003-11-12 12:31:23 +0000
committerThierry Vignaud <tvignaud@mandriva.org>2003-11-12 12:31:23 +0000
commit932b873787f546efa2629bc903988b40b04fb919 (patch)
tree1d3c42f85cdaeeef96e4c507fa09a8f1da804a55 /perl-install/ftp.pm
parent7639d230b844648b4d4b6d2ed00830c42a46b1e4 (diff)
downloaddrakx-backup-do-not-use-932b873787f546efa2629bc903988b40b04fb919.tar
drakx-backup-do-not-use-932b873787f546efa2629bc903988b40b04fb919.tar.gz
drakx-backup-do-not-use-932b873787f546efa2629bc903988b40b04fb919.tar.bz2
drakx-backup-do-not-use-932b873787f546efa2629bc903988b40b04fb919.tar.xz
drakx-backup-do-not-use-932b873787f546efa2629bc903988b40b04fb919.zip
fix bogus use of old netwok module instead of network::network
Diffstat (limited to 'perl-install/ftp.pm')
-rw-r--r--perl-install/ftp.pm4
1 files changed, 2 insertions, 2 deletions
diff --git a/perl-install/ftp.pm b/perl-install/ftp.pm
index c971898a1..b0f7046b1 100644
--- a/perl-install/ftp.pm
+++ b/perl-install/ftp.pm
@@ -2,7 +2,7 @@ package ftp; # $Id$
use Net::FTP;
-use network;
+use network::network;
use log;
my %hosts;
@@ -31,7 +31,7 @@ sub new {
my $ftp;
foreach (1..10) {
- $ftp = Net::FTP->new(network::resolv($host), %options) or die;
+ $ftp = Net::FTP->new(resolv($host), %options) or die;
$ftp && $ftp->login($o_login, $o_password) and last;
log::l("ftp login failed, sleeping before trying again");