Merge pull request #96 from gjc13/bugfix/aa-bit-receive

fix(mdns): ignore authoritative flag on reception (IDFGH-7891)
This commit is contained in:
david-cermak
2022-07-25 08:26:10 +02:00
committed by GitHub

View File

@ -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;
}