summaryrefslogtreecommitdiffstats
path: root/perl-install/fs
diff options
context:
space:
mode:
authorOlivier Blin <oblin@mandriva.com>2009-01-08 10:55:02 +0000
committerOlivier Blin <oblin@mandriva.com>2009-01-08 10:55:02 +0000
commit9ed00ebd0c5e755e6795a6d94305b26094468fdf (patch)
treef8f1ce6aeddfdd160f549ce7cf9604391193794d /perl-install/fs
parent755e9744bc66c5348d8e3564d80956771982c997 (diff)
downloaddrakx-9ed00ebd0c5e755e6795a6d94305b26094468fdf.tar
drakx-9ed00ebd0c5e755e6795a6d94305b26094468fdf.tar.gz
drakx-9ed00ebd0c5e755e6795a6d94305b26094468fdf.tar.bz2
drakx-9ed00ebd0c5e755e6795a6d94305b26094468fdf.tar.xz
drakx-9ed00ebd0c5e755e6795a6d94305b26094468fdf.zip
lookup for Samba master browsers too (backport from trunk)
Diffstat (limited to 'perl-install/fs')
-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 a406b8253..378aa6a1e 100644
--- a/perl-install/fs/remote/smb.pm
+++ b/perl-install/fs/remote/smb.pm
@@ -53,7 +53,7 @@ sub smbclient {
}
sub find_servers {
- my (undef, @l) = `nmblookup "*"`;
+ my (undef, @l) = `nmblookup "*"; nmblookup -M -- -`;
s/\s.*\n// foreach @l;
require network::network;
my @servers = grep { network::network::is_ip($_) } @l;