1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-28 17:47:29 +03:00

queries for 0x1b names were resulting in dns lookups. not good.

lkcl
This commit is contained in:
Samba Release Account -
parent f27a9ccc97
commit 992ca1f32b

View File

@ -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;
}