From: Samba Release Account Date: Wed, 6 Nov 1996 20:17:48 +0000 (+0000) Subject: queries for 0x1b names were resulting in dns lookups. not good. X-Git-Tag: samba-1.9.16p10~38 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=992ca1f32bd2bcb88bf85a71524b5643f63b322e;p=thirdparty%2Fsamba.git queries for 0x1b names were resulting in dns lookups. not good. lkcl --- diff --git a/source/namedbname.c b/source/namedbname.c index 208fa956640..f9210dac40f 100644 --- a/source/namedbname.c +++ b/source/namedbname.c @@ -526,9 +526,9 @@ struct name_record *dns_name_search(struct nmb_name *question, int Time) DEBUG(3,("Search for %s - ", namestr(question))); /* only do DNS lookups if the query is for type 0x20 or type 0x0 */ - if (!dns_type && name_type != 0x1b) + if (!dns_type) { - DEBUG(3,("types 0x20 0x1b 0x0 only: name not found\n")); + DEBUG(3,("types 0x20 0x0 only: name not found\n")); return NULL; }