diff --git a/components/mdns/mdns.c b/components/mdns/mdns.c index 9294d5598..3e070b6e6 100644 --- a/components/mdns/mdns.c +++ b/components/mdns/mdns.c @@ -3499,7 +3499,7 @@ void mdns_parse_packet(mdns_rx_packet_t * packet) service = _mdns_get_service_item(name->service, name->proto, NULL); } } else { - if (!parsed_packet->authoritative || record_type == MDNS_NS) { + if (!header.flags.qr || record_type == MDNS_NS) { //skip this record continue; }