summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>1998-02-24 18:46:47 +0000
committerJeremy Allison <jra@samba.org>1998-02-24 18:46:47 +0000
commit0f4080d3f076db58917d13787a282e96ba59a053 (patch)
tree234235b78aa0aed23d60b23b212e18ca6ee7afea
parent776ccf5c0641b5aa300236c2612b5f2761d1179f (diff)
downloadsamba-0f4080d3f076db58917d13787a282e96ba59a053.tar.gz
samba-0f4080d3f076db58917d13787a282e96ba59a053.tar.xz
samba-0f4080d3f076db58917d13787a282e96ba59a053.zip
Fixed bug where second response message was being printed with the
wrong IP address. This confused a lot of people (including me :-). Jeremy.
-rw-r--r--source/nmbd/nmbd_namequery.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/nmbd/nmbd_namequery.c b/source/nmbd/nmbd_namequery.c
index bbd831cac8e..51f18edd053 100644
--- a/source/nmbd/nmbd_namequery.c
+++ b/source/nmbd/nmbd_namequery.c
@@ -91,7 +91,7 @@ for name %s. IP of that name is %s\n", subrec->subnet_name, inet_ntoa(p->ip),
DEBUG(0,("query_name_response: Multiple (%d) responses received for a query on \
subnet %s for name %s. This response was from IP %s\n",
rrec->num_msgs, subrec->subnet_name, namestr(question_name),
- inet_ntoa(rrec->packet->ip) ));
+ inet_ntoa(p->ip) ));
/* We have already called the success or fail function, so we
don't call again here. Leave the response record around in