Skip to content

Commit

Permalink
dns_server: ignore non-matched record.
Browse files Browse the repository at this point in the history
  • Loading branch information
pymumu committed Dec 22, 2023
1 parent c67031e commit 52ee669
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/dns_server.c
Original file line number Diff line number Diff line change
Expand Up @@ -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 */
Expand Down

0 comments on commit 52ee669

Please sign in to comment.