Handle shares like 193.9.101.0/24

This commit is contained in:
Jamie Cameron
2007-10-25 16:58:41 +00:00
parent 8e600a468c
commit 59f8213028

View File

@@ -37,7 +37,7 @@ while(<DFS>) {
$lnum++;
}
$share->{'eline'} = $lnum;
if ($line =~ /(\/\S+)/) {
if ($line =~ /\s(\/\S+)/) {
$share->{'dir'} = $1;
}
if ($line =~ /-d\s+"([^"]+)"/) { $share->{'desc'} = $1; }