diff --git a/doc/Changelog b/doc/Changelog index 0a6f6d2ac..6c639d5e2 100644 --- a/doc/Changelog +++ b/doc/Changelog @@ -1,3 +1,6 @@ +10 April 2013: Wouter + - code improve for minimal responses, small speed increase. + 9 April 2013: Wouter - updated iana portlist. - Fix crash in previous private address fixup of 22 March. diff --git a/util/data/msgencode.c b/util/data/msgencode.c index 157796deb..34f3b8936 100644 --- a/util/data/msgencode.c +++ b/util/data/msgencode.c @@ -708,9 +708,6 @@ reply_info_encode(struct query_info* qinfo, struct reply_info* rep, return 0; } 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); return 1;