diff options
author | Samba Release Account <samba-bugs@samba.org> | 1996-10-25 16:43:04 +0000 |
---|---|---|
committer | Samba Release Account <samba-bugs@samba.org> | 1996-10-25 16:43:04 +0000 |
commit | 186c119d6ffb437e3d95dac798f6069aa4645e42 (patch) | |
tree | 2ad18aefefd50118eaa1f54baea06302d4614c08 /source3/nameservreply.c | |
parent | 3340bdcca1f4663e344fde589e78d1828ea0f7a5 (diff) | |
download | samba-186c119d6ffb437e3d95dac798f6069aa4645e42.tar.gz samba-186c119d6ffb437e3d95dac798f6069aa4645e42.tar.bz2 samba-186c119d6ffb437e3d95dac798f6069aa4645e42.zip |
debugged dns lookup / netbios name query code from yesterday.
lkcl
(This used to be commit 7c2f1da3773bac59ba0aeea7c0cac1134a74381c)
Diffstat (limited to 'source3/nameservreply.c')
-rw-r--r-- | source3/nameservreply.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source3/nameservreply.c b/source3/nameservreply.c index 407459b617..f7df7c485b 100644 --- a/source3/nameservreply.c +++ b/source3/nameservreply.c @@ -502,7 +502,7 @@ void reply_name_query(struct packet_struct *p) char rdata[6]; struct subnet_record *d = NULL; BOOL success = True; - struct name_record *n; + struct name_record *n = NULL; /* directed queries are for WINS server: broadcasts are local SELF queries. the exception is Domain Master names. */ @@ -546,7 +546,7 @@ void reply_name_query(struct packet_struct *p) if (success) { /* look up the name in the cache */ - n = find_name_search(&d, question, p->ip, search)); + n = find_name_search(&d, question, search, p->ip); /* it is a name that already failed DNS lookup or it's expired */ if (n->source == DNSFAIL || |