Skip to content

Commit 415e04a

Browse files
committed
fix(mdns): ignore authoritative flag on reception
1 parent d1129f3 commit 415e04a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

components/mdns/mdns.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3499,7 +3499,7 @@ void mdns_parse_packet(mdns_rx_packet_t * packet)
34993499
service = _mdns_get_service_item(name->service, name->proto, NULL);
35003500
}
35013501
} else {
3502-
if (!parsed_packet->authoritative || record_type == MDNS_NS) {
3502+
if (!header.flags.qr || record_type == MDNS_NS) {
35033503
//skip this record
35043504
continue;
35053505
}

0 commit comments

Comments
 (0)