mirror of
https://github.com/espressif/esp-idf
synced 2025-03-12 18:49:08 -04:00
mDNS: Fix of collision detection during txt length calculation
Closes https://github.com/espressif/esp-idf/issues/6114
This commit is contained in:
parent
5718652952
commit
0f80a4bd47
@ -2105,7 +2105,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