summaryrefslogtreecommitdiff
path: root/source3/nmbd
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
commitcadfca4cf58003518e9afef55b9a36c33f044b3c (patch)
tree16d28d430501a88eb89e7b39f9defaf28920f272 /source3/nmbd
parent834ef5624421dfdb4665012ea43aa37d092efe40 (diff)
downloadsamba-cadfca4cf58003518e9afef55b9a36c33f044b3c.tar.gz
samba-cadfca4cf58003518e9afef55b9a36c33f044b3c.tar.bz2
samba-cadfca4cf58003518e9afef55b9a36c33f044b3c.zip
Fixed bug where second response message was being printed with the
wrong IP address. This confused a lot of people (including me :-). Jeremy. (This used to be commit 0f4080d3f076db58917d13787a282e96ba59a053)
Diffstat (limited to 'source3/nmbd')
-rw-r--r--source3/nmbd/nmbd_namequery.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/nmbd/nmbd_namequery.c b/source3/nmbd/nmbd_namequery.c
index bbd831cac8..51f18edd05 100644
--- a/source3/nmbd/nmbd_namequery.c
+++ b/source3/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