git.samba.org
/
samba.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c97bb2f
)
queries for 0x1b names were resulting in dns lookups. not good.
author
Samba Release Account
<samba-bugs@samba.org>
Wed, 6 Nov 1996 20:17:48 +0000
(20:17 +0000)
committer
Samba Release Account
<samba-bugs@samba.org>
Wed, 6 Nov 1996 20:17:48 +0000
(20:17 +0000)
lkcl
(This used to be commit
992ca1f32bd2bcb88bf85a71524b5643f63b322e
)
source3/namedbname.c
patch
|
blob
|
history
diff --git
a/source3/namedbname.c
b/source3/namedbname.c
index 208fa956640290e364f59021cecf2b8a6be12eb8..f9210dac40ff9ba34c7d500b7e17298c17e3a770 100644
(file)
--- 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 0x
1b 0x
0 only: name not found\n"));
+ DEBUG(3,("types 0x20 0x0 only: name not found\n"));
return NULL;
}