From 59f821302819de5de5d99a002011ffbc91118dcb Mon Sep 17 00:00:00 2001 From: Jamie Cameron Date: Thu, 25 Oct 2007 16:58:41 +0000 Subject: [PATCH] Handle shares like 193.9.101.0/24 --- dfsadmin/dfs-lib.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dfsadmin/dfs-lib.pl b/dfsadmin/dfs-lib.pl index c5e598115..115ebdb71 100644 --- a/dfsadmin/dfs-lib.pl +++ b/dfsadmin/dfs-lib.pl @@ -37,7 +37,7 @@ while() { $lnum++; } $share->{'eline'} = $lnum; - if ($line =~ /(\/\S+)/) { + if ($line =~ /\s(\/\S+)/) { $share->{'dir'} = $1; } if ($line =~ /-d\s+"([^"]+)"/) { $share->{'desc'} = $1; }