From ef1572dbc160f4e0ae7eb5b4aa02fdb8b1817ec4 Mon Sep 17 00:00:00 2001 From: Stefan Metzmacher Date: Fri, 13 Jan 2006 16:49:00 +0000 Subject: [PATCH] r12908: use '_' also for indication we want to ask for the localmaster browser, as '-' make problems with popt metze (This used to be commit d300d56fb724642887c9b43058ef858298846288) --- source4/utils/nmblookup.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source4/utils/nmblookup.c b/source4/utils/nmblookup.c index b0bedab01ea..2b1ca8d2ad1 100644 --- a/source4/utils/nmblookup.c +++ b/source4/utils/nmblookup.c @@ -189,7 +189,7 @@ static BOOL process_one(const char *name) if (options.find_master) { node_type = NBT_NAME_MASTER; - if (*name == '-') { + if (*name == '-' || *name == '_') { name = "\01\02__MSBROWSE__\02"; node_type = NBT_NAME_MS; }