git.samba.org
/
abartlet
/
samba.git
/
.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2d5cf1d
)
fix some output formatting
author
Gerald Carter
<jerry@samba.org>
Fri, 5 Sep 2003 13:25:49 +0000
(13:25 +0000)
committer
Gerald Carter
<jerry@samba.org>
Fri, 5 Sep 2003 13:25:49 +0000
(13:25 +0000)
(This used to be commit
0283b0152e4cbe3d26b305ab9867e2b0765addfe
)
source3/script/findsmb.in
patch
|
blob
|
history
diff --git
a/source3/script/findsmb.in
b/source3/script/findsmb.in
index 64215918d1783bd389277a16215a1627396526e3..fb06018fe5c47bb1836809cad95dab8272bcd8d5 100755
(executable)
--- a/
source3/script/findsmb.in
+++ b/
source3/script/findsmb.in
@@
-90,6
+90,7
@@
foreach $ip (@ipaddrs) # loop through each IP address found
# names starting or ending with spaces
/(.{1,15})\s+<00>\s+/;
$name = $1;
+ $name =~ s/^\s+//g;
}
# do an smbclient command on the netbios name.