1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-11 05:18:09 +03:00

Fix tree breakage, the last change was entirly non-portable, and we already

have this nice variable to do exactly this...
This commit is contained in:
Andrew Bartlett 0001-01-01 00:00:00 +00:00
parent cf1d1cd9d6
commit cad6f53433

View File

@ -26,6 +26,8 @@
extern int DEBUGLEVEL;
extern struct in_addr ipzero;
/****************************************************************************
Deal with a response packet when querying a name.
****************************************************************************/
@ -40,7 +42,7 @@ static void query_name_response( struct subnet_record *subrec,
&rrec->packet->packet.nmb.question.question_name;
struct in_addr answer_ip;
answer_ip.S_un.S_addr = 0; /* Fix from JEM...should always initialize. */
answer_ip = ipzero; /* Fix from JEM...should always initialize. */
/* Ensure we don't retry the query but leave the response record cleanup
to the timeout code. We may get more answer responses in which case