mirror of
https://github.com/NLnetLabs/unbound.git
synced 2025-12-20 23:00:56 -05:00
fixup in case the operator disables IPv4.
git-svn-id: file:///svn/unbound/trunk@421 be551aaa-1e26-0410-a405-d3ace91eadb9
This commit is contained in:
parent
9a1813e0bf
commit
479273df3c
2 changed files with 5 additions and 0 deletions
|
|
@ -7,6 +7,7 @@
|
|||
- changed iterator so that it does not alter module_qstate.qinfo
|
||||
but keeps a chase query info. Also query_flags are not altered,
|
||||
the iterator uses chase_flags.
|
||||
- fixup crash in case no ports for the family exist.
|
||||
|
||||
21 June 2007: Wouter
|
||||
- Fixup secondary buffer in case of error callback.
|
||||
|
|
|
|||
|
|
@ -734,6 +734,10 @@ pending_udp_query(struct outside_network* outnet, ldns_buffer* packet,
|
|||
return NULL;
|
||||
}
|
||||
select_port(outnet, pend, rnd);
|
||||
if(!pend->c) {
|
||||
pending_delete(outnet, pend);
|
||||
return NULL;
|
||||
}
|
||||
|
||||
/* send it over the commlink */
|
||||
if(!comm_point_send_udp_msg(pend->c, packet, (struct sockaddr*)addr,
|
||||
|
|
|
|||
Loading…
Reference in a new issue