diff options
Diffstat (limited to 'packaging/SGI')
-rwxr-xr-x | packaging/SGI/findsmb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/packaging/SGI/findsmb b/packaging/SGI/findsmb index 336ff07c16..a48ec592e8 100755 --- a/packaging/SGI/findsmb +++ b/packaging/SGI/findsmb @@ -73,7 +73,7 @@ foreach $ip (@ipaddrs) # loop through each IP address found $name = "unknown nis name"; } } else { - /(.{1,15})\s+<00>\s+/; + /(\S+)/; $name = $1; } @@ -103,7 +103,7 @@ foreach $ip (@ipaddrs) # loop through each IP address found @name = grep(/<00> - <GROUP>/,@nmblookup); $_ = @name[0]; if ($_) { - /(.{1,15})\s+<00>\s+/; + /(\S+)/; $_ = "[$1]"; } else { $_ = "Unknown Workgroup"; |