mirror of
https://github.com/NLnetLabs/unbound.git
synced 2026-09-09 19:37:43 +02:00
fixup ip6 tcp.
git-svn-id: file:///svn/unbound/trunk@675 be551aaa-1e26-0410-a405-d3ace91eadb9
This commit is contained in:
@@ -1,3 +1,7 @@
|
||||
15 October 2007: Wouter
|
||||
- nicer warning.
|
||||
- fix IP6 TCP, wrong definition check. With test package.
|
||||
|
||||
8 October 2007: Wouter
|
||||
- --disable-rpath option in configure for 64bit systems with
|
||||
several dynamic lib dirs.
|
||||
|
||||
@@ -318,7 +318,8 @@ iter_mark_cycle_targets(struct module_qstate* qstate, struct delegpt* dp)
|
||||
LDNS_RR_TYPE_A, qstate->qinfo.qclass)) {
|
||||
log_nametypeclass(VERB_DETAIL, "skipping target due "
|
||||
"to dependency cycle (harden-glue: no may "
|
||||
"fix this)", ns->name, LDNS_RR_TYPE_A,
|
||||
"fix some of the cycles)",
|
||||
ns->name, LDNS_RR_TYPE_A,
|
||||
qstate->qinfo.qclass);
|
||||
ns->resolved = 1;
|
||||
}
|
||||
|
||||
@@ -123,8 +123,8 @@ outnet_tcp_take_into_use(struct waiting_tcp* w, uint8_t* pkt, size_t pkt_len)
|
||||
log_assert(pend);
|
||||
log_assert(pkt);
|
||||
/* open socket */
|
||||
#ifndef INET6
|
||||
if(addr_is_ip6(addr))
|
||||
#ifdef INET6
|
||||
if(addr_is_ip6(&w->addr))
|
||||
s = socket(PF_INET6, SOCK_STREAM, IPPROTO_TCP);
|
||||
else
|
||||
#endif
|
||||
|
||||
Vendored
BIN
Binary file not shown.
Reference in New Issue
Block a user