summaryrefslogtreecommitdiff
path: root/source3/script
diff options
context:
space:
mode:
authorHerb Lewis <herb@samba.org>2004-02-12 20:45:12 +0000
committerHerb Lewis <herb@samba.org>2004-02-12 20:45:12 +0000
commitb60ba1de77a5bb012117e78e57188b12f1bd25f0 (patch)
treede3695a4e3a6abe4a358f5300e5adb09bfc4ae2d /source3/script
parent5abd317a4ce3c4a033d714da74d09bbba5b80b24 (diff)
downloadsamba-b60ba1de77a5bb012117e78e57188b12f1bd25f0.tar.gz
samba-b60ba1de77a5bb012117e78e57188b12f1bd25f0.tar.bz2
samba-b60ba1de77a5bb012117e78e57188b12f1bd25f0.zip
merge old change from 2.2 branch to give legend in heading
(This used to be commit 1b7ba358b6c708bdede117c0cd16a7c4f7c0106a)
Diffstat (limited to 'source3/script')
-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