diff options
author | Stefan Metzmacher <metze@samba.org> | 2006-01-13 16:49:00 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 13:51:01 -0500 |
commit | ef1572dbc160f4e0ae7eb5b4aa02fdb8b1817ec4 (patch) | |
tree | fad9413a4435896cf98fffe4a96ec436ea9b6322 | |
parent | e1622519d3d219d3828c71cda55e87eb36041d43 (diff) | |
download | samba-ef1572dbc160f4e0ae7eb5b4aa02fdb8b1817ec4.tar.gz samba-ef1572dbc160f4e0ae7eb5b4aa02fdb8b1817ec4.tar.bz2 samba-ef1572dbc160f4e0ae7eb5b4aa02fdb8b1817ec4.zip |
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)
-rw-r--r-- | source4/utils/nmblookup.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/utils/nmblookup.c b/source4/utils/nmblookup.c index b0bedab01e..2b1ca8d2ad 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; } |