Fixed bug where second response message was being printed with the
authorJeremy Allison <jra@samba.org>
Tue, 24 Feb 1998 18:46:47 +0000 (18:46 +0000)
committerJeremy Allison <jra@samba.org>
Tue, 24 Feb 1998 18:46:47 +0000 (18:46 +0000)
wrong IP address. This confused a lot of people (including me :-).
Jeremy.

source/nmbd/nmbd_namequery.c

index bbd831cac8e11dd4c658e1299524180e19ba6e02..51f18edd0535df34d1596b63d58a16dbf1952261 100644 (file)
@@ -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