mirror of
https://github.com/espressif/esp-idf.git
synced 2025-08-05 13:44:32 +02:00
mdns: fix wrong PTR record count
This commit is contained in:
@@ -1094,6 +1094,7 @@ static uint8_t _mdns_append_service_ptr_answers(uint8_t *packet, uint16_t *index
|
|||||||
service->proto, flush, bye) <= 0) {
|
service->proto, flush, bye) <= 0) {
|
||||||
return appended_answers;
|
return appended_answers;
|
||||||
}
|
}
|
||||||
|
appended_answers++;
|
||||||
|
|
||||||
mdns_subtype_t *subtype = service->subtype;
|
mdns_subtype_t *subtype = service->subtype;
|
||||||
while (subtype) {
|
while (subtype) {
|
||||||
|
Reference in New Issue
Block a user