mirror of
https://github.com/espressif/esp-protocols.git
synced 2025-07-29 18:27:31 +02:00
mdns: fix ignoring mdns packet with some invalid name entries in question field
In case of invalid name entry, only this entry is invalidated and parsing continues as other query entries could contain questions to be responded to * Original commit: espressif/esp-idf@4bd4c7caf3
This commit is contained in:
committed by
suren-gabrielyan-espressif
parent
e431b6b7fe
commit
144d4ad1d4
@ -184,6 +184,7 @@ typedef struct {
|
||||
char domain[MDNS_NAME_BUF_LEN];
|
||||
uint8_t parts;
|
||||
uint8_t sub;
|
||||
bool invalid;
|
||||
} mdns_name_t;
|
||||
|
||||
typedef struct mdns_parsed_question_s {
|
||||
|
Reference in New Issue
Block a user