mirror of
https://github.com/espressif/esp-idf.git
synced 2024-10-05 20:47:46 -04:00
Merge branch 'bugfix/mdns_service_instance_crash' into 'master'
mdns: Fix random crash when defalt service instance queried Closes IDFGH-6606 See merge request espressif/esp-idf!16850
This commit is contained in:
commit
af221101db
@ -1553,7 +1553,7 @@ static bool _mdns_service_match_ptr_question(const mdns_service_t *service, cons
|
||||
return false;
|
||||
}
|
||||
if (question->host) {
|
||||
if (strcasecmp(service->instance, question->host) != 0) {
|
||||
if (strcasecmp(_mdns_get_service_instance_name(service), question->host) != 0) {
|
||||
return false;
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user