mirror of
https://github.com/isc-projects/bind9.git
synced 2026-05-28 04:34:54 -04:00
add XXXRTH comment about sending to ourselves
This commit is contained in:
parent
fa9918984b
commit
7525fa78c0
1 changed files with 4 additions and 0 deletions
|
|
@ -941,6 +941,10 @@ resquery_send(resquery_t *query) {
|
|||
if ((query->options & DNS_FETCHOPT_TCP) == 0)
|
||||
address = query->addrinfo->sockaddr;
|
||||
isc_buffer_used(buffer, &r);
|
||||
/*
|
||||
* XXXRTH Make sure we don't send to ourselves! We should probably
|
||||
* prune out these addresses when we get them from the ADB.
|
||||
*/
|
||||
result = isc_socket_sendto(socket, &r, task, resquery_senddone,
|
||||
query, address, NULL);
|
||||
if (result != ISC_R_SUCCESS)
|
||||
|
|
|
|||
Loading…
Reference in a new issue