Commit aa3da7a2 authored by Witold Kręcicki's avatar Witold Kręcicki Committed by Evan Hunt

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

parent 44c8202b
......@@ -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) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment