svn commit: samba r12908 - in branches/SAMBA_4_0/source/utils: .

metze at samba.org metze at samba.org
Fri Jan 13 16:49:01 GMT 2006


Author: metze
Date: 2006-01-13 16:49:00 +0000 (Fri, 13 Jan 2006)
New Revision: 12908

WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=12908

Log:
use '_' also for indication we want to ask for the localmaster browser,

as '-' make problems with popt

metze
Modified:
   branches/SAMBA_4_0/source/utils/nmblookup.c


Changeset:
Modified: branches/SAMBA_4_0/source/utils/nmblookup.c
===================================================================
--- branches/SAMBA_4_0/source/utils/nmblookup.c	2006-01-13 16:44:32 UTC (rev 12907)
+++ branches/SAMBA_4_0/source/utils/nmblookup.c	2006-01-13 16:49:00 UTC (rev 12908)
@@ -189,7 +189,7 @@
 	
 	if (options.find_master) {
 		node_type = NBT_NAME_MASTER;
-		if (*name == '-') {
+		if (*name == '-' || *name == '_') {
 			name = "\01\02__MSBROWSE__\02";
 			node_type = NBT_NAME_MS;
 		}



More information about the samba-cvs mailing list