fixup ip6 tcp.

git-svn-id: file:///svn/unbound/trunk@675 be551aaa-1e26-0410-a405-d3ace91eadb9
This commit is contained in:
Wouter Wijngaards 2007-10-15 09:10:26 +00:00
parent 25da698bf1
commit bef17e9e7c
4 changed files with 8 additions and 3 deletions

View file

@ -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.

View file

@ -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;
}

View file

@ -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

BIN
testdata/fwd_tcp_tc6.tpkg vendored Normal file

Binary file not shown.