merge old change from 2.2 branch to give legend in heading
authorHerb Lewis <herb@samba.org>
Thu, 12 Feb 2004 20:43:23 +0000 (20:43 +0000)
committerHerb Lewis <herb@samba.org>
Thu, 12 Feb 2004 20:43:23 +0000 (20:43 +0000)
source/script/findsmb.in

index fb06018..546cf8c 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