summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
authorHerb Lewis <herb@samba.org>2004-02-12 20:43:23 +0000
committerHerb Lewis <herb@samba.org>2004-02-12 20:43:23 +0000
commit727bc707b6ee4435c8f1a8988e5f80eb3a67fbc8 (patch)
tree948a2d5a40d321685b806ca76a787484ff37df78 /source3
parent041f03151c5a952af9fd22a023c23b2a4abf81c6 (diff)
downloadsamba-727bc707b6ee4435c8f1a8988e5f80eb3a67fbc8.tar.gz
samba-727bc707b6ee4435c8f1a8988e5f80eb3a67fbc8.tar.bz2
samba-727bc707b6ee4435c8f1a8988e5f80eb3a67fbc8.zip
merge old change from 2.2 branch to give legend in heading
(This used to be commit ed4af810cf74943e9c1881ddc4044646fd72c998)
Diffstat (limited to 'source3')
-rwxr-xr-xsource3/script/findsmb.in5
1 files changed, 3 insertions, 2 deletions
diff --git a/source3/script/findsmb.in b/source3/script/findsmb.in
index fb06018fe5..546cf8ce7b 100755
--- 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