mdns: fix wrong PTR record count

This commit is contained in:
Jiacheng Guo
2021-11-10 17:29:09 +08:00
parent 86fbe68d94
commit 5d3f8157e0

View File

@@ -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) {