diff options
author | Andrew Bartlett <abartlet@samba.org> | 2001-07-10 17:14:52 +0000 |
---|---|---|
committer | Andrew Bartlett <abartlet@samba.org> | 2001-07-10 17:14:52 +0000 |
commit | f8f1d9d5c3998dd9252bf13fb8b7968d08e2e062 (patch) | |
tree | 93f56357639aa88647c28b32f583b60d7f4f0786 /source3 | |
parent | e4b6f641e8590b385672e12f4a2829c69e2d33aa (diff) | |
download | samba-f8f1d9d5c3998dd9252bf13fb8b7968d08e2e062.tar.gz samba-f8f1d9d5c3998dd9252bf13fb8b7968d08e2e062.tar.bz2 samba-f8f1d9d5c3998dd9252bf13fb8b7968d08e2e062.zip |
Fix tree breakage, the last change was entirly non-portable, and we already
have this nice variable to do exactly this...
(This used to be commit cad6f53433a9345c06ae94c5ef63434e72a2daea)
Diffstat (limited to 'source3')
-rw-r--r-- | source3/nmbd/nmbd_namequery.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/source3/nmbd/nmbd_namequery.c b/source3/nmbd/nmbd_namequery.c index 67421103dd..662d3895dd 100644 --- a/source3/nmbd/nmbd_namequery.c +++ b/source3/nmbd/nmbd_namequery.c @@ -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 |