mirror of
https://github.com/samba-team/samba.git
synced 2025-01-11 05:18:09 +03:00
r13530: Fix from William Jojo for #1970. Make nmblookup do
a node status on all IP's when requested. Jeremy.
This commit is contained in:
parent
7716c69729
commit
1fcac478cb
@ -169,13 +169,12 @@ static BOOL query_one(const char *lookup, unsigned int lookup_type)
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
d_printf("%s %s<%02x>\n",inet_ntoa(ip_list[j]),lookup, lookup_type);
|
d_printf("%s %s<%02x>\n",inet_ntoa(ip_list[j]),lookup, lookup_type);
|
||||||
}
|
/* We can only do find_status if the ip address returned
|
||||||
|
was valid - ie. name_query returned true.
|
||||||
/* We can only do find_status if the ip address returned
|
*/
|
||||||
was valid - ie. name_query returned true.
|
if (find_status) {
|
||||||
*/
|
do_node_status(ServerFD, lookup, lookup_type, ip_list[j]);
|
||||||
if (find_status) {
|
}
|
||||||
do_node_status(ServerFD, lookup, lookup_type, ip_list[0]);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
safe_free(ip_list);
|
safe_free(ip_list);
|
||||||
|
Loading…
Reference in New Issue
Block a user