From cadfca4cf58003518e9afef55b9a36c33f044b3c Mon Sep 17 00:00:00 2001 From: Jeremy Allison Date: Tue, 24 Feb 1998 18:46:47 +0000 Subject: 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) --- source3/nmbd/nmbd_namequery.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source3/nmbd/nmbd_namequery.c') 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 -- cgit