Skip to content

Commit

Permalink
mDNS: Fix of collision detection during txt length calculation
Browse files Browse the repository at this point in the history
  • Loading branch information
suren-gabrielyan-espressif committed May 17, 2022
1 parent ae77679 commit 216d769
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion components/mdns/mdns.c
Expand Up @@ -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;
}

Expand Down

0 comments on commit 216d769

Please sign in to comment.