git.samba.org
/
samba.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
041f031
)
merge old change from 2.2 branch to give legend in heading
author
Herb Lewis
<herb@samba.org>
Thu, 12 Feb 2004 20:43:23 +0000
(20:43 +0000)
committer
Herb Lewis
<herb@samba.org>
Thu, 12 Feb 2004 20:43:23 +0000
(20:43 +0000)
(This used to be commit
ed4af810cf74943e9c1881ddc4044646fd72c998
)
source3/script/findsmb.in
patch
|
blob
|
history
diff --git
a/source3/script/findsmb.in
b/source3/script/findsmb.in
index fb06018fe5c47bb1836809cad95dab8272bcd8d5..546cf8ce7b4a964429e7c1fac23c7b50d99110a5 100755
(executable)
--- a/
source3/script/findsmb.in
+++ b/
source3/script/findsmb.in
@@
-57,8
+57,9
@@
open(NMBLOOKUP,"$SAMBABIN/nmblookup $BCAST '*' --debuglevel=0|") ||
@ipaddrs = sort ipsort grep(s/ \*<00>.*$//,<NMBLOOKUP>);
# print header info
-
-print "\nIP ADDR NETBIOS NAME WORKGROUP/OS/VERSION $BCAST\n";
+print "\n *=DMB\n";
+print " +=LMB\n";
+print "IP ADDR NETBIOS NAME WORKGROUP/OS/VERSION $BCAST\n";
print "---------------------------------------------------------------------\n";
foreach $ip (@ipaddrs) # loop through each IP address found