dns_server: ignore non-matched record.

This commit is contained in:
Nick Peng
2023-12-22 23:55:18 +08:00
parent c67031eb7c
commit 52ee66973a

View File

@@ -3120,9 +3120,7 @@ static int _dns_server_process_answer_A(struct dns_rrs *rrs, struct dns_request
if (request->qtype != DNS_T_A) {
/* ignore non-matched query type */
if (request->dualstack_selection == 0) {
return 0;
}
return 0;
}
/* get A result */