mirror of
https://github.com/espressif/esp-idf.git
synced 2024-10-05 20:47:46 -04:00
Merge branch 'bugfix/mdns_collision_detection' into 'master'
mDNS: Fix of collision detection during txt length calculation See merge request espressif/esp-idf!11486
This commit is contained in:
commit
41b1945980
@ -2158,7 +2158,7 @@ static int _mdns_check_txt_collision(mdns_service_t * service, const uint8_t * d
|
||||
|
||||
mdns_txt_linked_item_t * txt = service->txt;
|
||||
while (txt) {
|
||||
data_len += 2 + strlen(service->txt->key) + strlen(service->txt->value);
|
||||
data_len += 2 + strlen(txt->key) + strlen(txt->value);
|
||||
txt = txt->next;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user