Clean up client->ecs when we're done with the request.

This commit is contained in:
Witold Kręcicki 2019-02-17 20:32:07 +01:00 committed by Evan Hunt
parent 44c8202b0c
commit aa3da7a232

View file

@ -763,6 +763,7 @@ ns_client_endrequest(ns_client_t *client) {
client->udpsize = 512;
client->extflags = 0;
client->ednsversion = -1;
dns_ecs_init(&client->ecs);
dns_message_reset(client->message, DNS_MESSAGE_INTENTPARSE);
if (client->recursionquota != NULL) {