mirror of
https://github.com/samba-team/samba.git
synced 2025-03-08 04:58:40 +03:00
strip out extra spaces from smbclient output that were added recently
This commit is contained in:
parent
efa67d6b2b
commit
5f5562ff60
@ -95,7 +95,7 @@ foreach $ip (@ipaddrs) # loop through each IP address found
|
||||
@info = grep(/OS=/,@smb);
|
||||
$_ = @info[0];
|
||||
if ($_) { # we found response
|
||||
s/Domain=|OS=|Server=|\n//g; # strip out descriptions to make line shorter
|
||||
s/.*Domain=|OS=|Server=|\n//g; # strip out descriptions to make line shorter
|
||||
|
||||
} else { # no OS= string in response (WIN95 client)
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user