Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
ISC Open Source Projects
BIND
Commits
7525fa78
Commit
7525fa78
authored
Apr 26, 2000
by
Bob Halley
Browse files
add XXXRTH comment about sending to ourselves
parent
fa991898
Changes
1
Hide whitespace changes
Inline
Side-by-side
lib/dns/resolver.c
View file @
7525fa78
...
...
@@ -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
)
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment