mirror of
https://github.com/NLnetLabs/unbound.git
synced 2025-12-20 23:00:56 -05:00
fixup ip6 tcp.
git-svn-id: file:///svn/unbound/trunk@675 be551aaa-1e26-0410-a405-d3ace91eadb9
This commit is contained in:
parent
25da698bf1
commit
bef17e9e7c
4 changed files with 8 additions and 3 deletions
|
|
@ -1,3 +1,7 @@
|
||||||
|
15 October 2007: Wouter
|
||||||
|
- nicer warning.
|
||||||
|
- fix IP6 TCP, wrong definition check. With test package.
|
||||||
|
|
||||||
8 October 2007: Wouter
|
8 October 2007: Wouter
|
||||||
- --disable-rpath option in configure for 64bit systems with
|
- --disable-rpath option in configure for 64bit systems with
|
||||||
several dynamic lib dirs.
|
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)) {
|
LDNS_RR_TYPE_A, qstate->qinfo.qclass)) {
|
||||||
log_nametypeclass(VERB_DETAIL, "skipping target due "
|
log_nametypeclass(VERB_DETAIL, "skipping target due "
|
||||||
"to dependency cycle (harden-glue: no may "
|
"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);
|
qstate->qinfo.qclass);
|
||||||
ns->resolved = 1;
|
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(pend);
|
||||||
log_assert(pkt);
|
log_assert(pkt);
|
||||||
/* open socket */
|
/* open socket */
|
||||||
#ifndef INET6
|
#ifdef INET6
|
||||||
if(addr_is_ip6(addr))
|
if(addr_is_ip6(&w->addr))
|
||||||
s = socket(PF_INET6, SOCK_STREAM, IPPROTO_TCP);
|
s = socket(PF_INET6, SOCK_STREAM, IPPROTO_TCP);
|
||||||
else
|
else
|
||||||
#endif
|
#endif
|
||||||
|
|
|
||||||
BIN
testdata/fwd_tcp_tc6.tpkg
vendored
Normal file
BIN
testdata/fwd_tcp_tc6.tpkg
vendored
Normal file
Binary file not shown.
Loading…
Reference in a new issue