mirror of
https://github.com/NLnetLabs/unbound.git
synced 2025-12-20 23:00:56 -05:00
- Fix round-robin doesn't work with some Windows clients (from Ilya Bakulin).
git-svn-id: file:///svn/unbound/trunk@2899 be551aaa-1e26-0410-a405-d3ace91eadb9
This commit is contained in:
parent
956a4b8a14
commit
4a3efd5ea9
2 changed files with 7 additions and 2 deletions
|
|
@ -1,3 +1,7 @@
|
||||||
|
15 May 2013: Wouter
|
||||||
|
- Fix round-robin doesn't work with some Windows clients (from Ilya
|
||||||
|
Bakulin).
|
||||||
|
|
||||||
3 May 2013: Wouter
|
3 May 2013: Wouter
|
||||||
- update acx_nlnetlabs.m4 to v23, sleep w32 fix.
|
- update acx_nlnetlabs.m4 to v23, sleep w32 fix.
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -658,8 +658,9 @@ reply_info_encode(struct query_info* qinfo, struct reply_info* rep,
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
/* roundrobin offset. using query id for random number */
|
/* roundrobin offset. using query id for random number. With ntohs
|
||||||
rr_offset = RRSET_ROUNDROBIN?id:0;
|
* for different roundrobins for sequential id client senders. */
|
||||||
|
rr_offset = RRSET_ROUNDROBIN?ntohs(id):0;
|
||||||
|
|
||||||
/* insert answer section */
|
/* insert answer section */
|
||||||
if((r=insert_section(rep, rep->an_numrrsets, &ancount, buffer,
|
if((r=insert_section(rep, rep->an_numrrsets, &ancount, buffer,
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue