mirror of
https://github.com/NLnetLabs/unbound.git
synced 2025-12-20 23:00:56 -05:00
- code improve for minimal responses, small speed increase.
git-svn-id: file:///svn/unbound/trunk@2881 be551aaa-1e26-0410-a405-d3ace91eadb9
This commit is contained in:
parent
f9137645fb
commit
855434b761
2 changed files with 3 additions and 3 deletions
|
|
@ -1,3 +1,6 @@
|
||||||
|
10 April 2013: Wouter
|
||||||
|
- code improve for minimal responses, small speed increase.
|
||||||
|
|
||||||
9 April 2013: Wouter
|
9 April 2013: Wouter
|
||||||
- updated iana portlist.
|
- updated iana portlist.
|
||||||
- Fix crash in previous private address fixup of 22 March.
|
- Fix crash in previous private address fixup of 22 March.
|
||||||
|
|
|
||||||
|
|
@ -708,9 +708,6 @@ reply_info_encode(struct query_info* qinfo, struct reply_info* rep,
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
ldns_buffer_write_u16_at(buffer, 10, arcount);
|
ldns_buffer_write_u16_at(buffer, 10, arcount);
|
||||||
} else {
|
|
||||||
ldns_buffer_write_u16_at(buffer, 8, nscount);
|
|
||||||
ldns_buffer_write_u16_at(buffer, 10, arcount);
|
|
||||||
}
|
}
|
||||||
ldns_buffer_flip(buffer);
|
ldns_buffer_flip(buffer);
|
||||||
return 1;
|
return 1;
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue