merge old change from 2.2 branch to give legend in heading
authorHerb Lewis <herb@samba.org>
Thu, 12 Feb 2004 20:45:12 +0000 (20:45 +0000)
committerHerb 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

index fb06018fe5c47bb1836809cad95dab8272bcd8d5..546cf8ce7b4a964429e7c1fac23c7b50d99110a5 100755 (executable)
@@ -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