summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSamba Release Account <samba-bugs@samba.org>1996-11-06 20:17:48 +0000
committerSamba Release Account <samba-bugs@samba.org>1996-11-06 20:17:48 +0000
commitbc25ddf6af7626eb23c3e72e27306f4458ddc27e (patch)
tree03007ca5c838e50fdad77938adba2d9306b48440
parentc97bb2f272c6fc4310a367c72b8cc5113eaf5397 (diff)
downloadsamba-bc25ddf6af7626eb23c3e72e27306f4458ddc27e.tar.gz
samba-bc25ddf6af7626eb23c3e72e27306f4458ddc27e.tar.bz2
samba-bc25ddf6af7626eb23c3e72e27306f4458ddc27e.zip
queries for 0x1b names were resulting in dns lookups. not good.
lkcl (This used to be commit 992ca1f32bd2bcb88bf85a71524b5643f63b322e)
-rw-r--r--source3/namedbname.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source3/namedbname.c b/source3/namedbname.c
index 208fa95664..f9210dac40 100644
--- a/source3/namedbname.c
+++ b/source3/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;
}