Skip to content

Commit

Permalink
mdns: fix wrong PTR record count
Browse files Browse the repository at this point in the history
* Original commit: espressif/esp-idf@5d3f815
  • Loading branch information
gjc13 authored and suren-gabrielyan-espressif committed May 27, 2022
1 parent 4a9d55e commit d0bbe88
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions components/mdns/mdns.c
Expand Up @@ -1094,6 +1094,7 @@ static uint8_t _mdns_append_service_ptr_answers(uint8_t *packet, uint16_t *index
service->proto, flush, bye) <= 0) {
return appended_answers;
}
appended_answers++;

mdns_subtype_t *subtype = service->subtype;
while (subtype) {
Expand Down

0 comments on commit d0bbe88

Please sign in to comment.