git.samba.org
/
sfrench
/
samba-autobuild
/
.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5abd317
)
merge old change from 2.2 branch to give legend in heading
author
Herb Lewis
<herb@samba.org>
Thu, 12 Feb 2004 20:45:12 +0000
(20:45 +0000)
committer
Herb Lewis
<herb@samba.org>
Thu, 12 Feb 2004 20:45:12 +0000
(20:45 +0000)
(This used to be commit
1b7ba358b6c708bdede117c0cd16a7c4f7c0106a
)
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