dns_client: avoid disconnect with server after query complete

This commit is contained in:
Nick Peng
2020-08-24 23:54:06 +08:00
parent b8a36ccb8c
commit a3d3364a32
2 changed files with 9 additions and 5 deletions

View File

@@ -1468,7 +1468,7 @@ static int _dns_client_recv(struct dns_server_info *server_info, unsigned char *
}
_dns_client_query_release(query);
return ret;
return 0;
}
static int _dns_client_create_socket_udp(struct dns_server_info *server_info)