diff --git a/src/dns_server.c b/src/dns_server.c index c903b5d0d9..f7e436d297 100644 --- a/src/dns_server.c +++ b/src/dns_server.c @@ -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 */