summaryrefslogtreecommitdiffstats
path: root/perl-install/fs/remote
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2007-10-24 14:36:29 +0000
committerPascal Rigaux <pixel@mandriva.com>2007-10-24 14:36:29 +0000
commitefad0d7f1e0efb1c7d6f8bb49bd7191ecdb59cd3 (patch)
treea0f879d55fdab1f0fc54a2fb62cca47b3c654dfb /perl-install/fs/remote
parente66787e8ef47e098c04ea5595ad745304955d34d (diff)
downloaddrakx-backup-do-not-use-efad0d7f1e0efb1c7d6f8bb49bd7191ecdb59cd3.tar
drakx-backup-do-not-use-efad0d7f1e0efb1c7d6f8bb49bd7191ecdb59cd3.tar.gz
drakx-backup-do-not-use-efad0d7f1e0efb1c7d6f8bb49bd7191ecdb59cd3.tar.bz2
drakx-backup-do-not-use-efad0d7f1e0efb1c7d6f8bb49bd7191ecdb59cd3.tar.xz
drakx-backup-do-not-use-efad0d7f1e0efb1c7d6f8bb49bd7191ecdb59cd3.zip
- bootloader-config must not need network::network from libdrakx-net
Diffstat (limited to 'perl-install/fs/remote')
-rw-r--r--perl-install/fs/remote/smb.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/perl-install/fs/remote/smb.pm b/perl-install/fs/remote/smb.pm
index 933941326..7757eeb3f 100644
--- a/perl-install/fs/remote/smb.pm
+++ b/perl-install/fs/remote/smb.pm
@@ -5,7 +5,6 @@ use diagnostics;
use common;
use fs::mount_options;
-use network::network;
use fs::remote;
@@ -56,6 +55,7 @@ sub smbclient {
sub find_servers {
my (undef, @l) = `nmblookup "*"`;
s/\s.*\n// foreach @l;
+ require network::network;
my @servers = grep { network::network::is_ip($_) } @l;
my %servers;
$servers{$_}{ip} = $_ foreach @servers;