mirror of
https://github.com/espressif/openthread.git
synced 2026-07-09 13:50:28 +00:00
43997a7d2a
When a new service with subtypes is added to an existing host, the SRP server incorrectly merges the subtype service copies so that the TXT information is lost, i.e. 0-length TXT record is created. Moreover, the OT DNS client cannot parse services with 0-length TXT record (instead of ignoring the TXT record itself) causing that such a service cannot be examined at all. The problem is caused by incorrect merging of the service description structure which is shared across all services with the same instance name (i.e. among the base type service and its subtypes). Signed-off-by: Damian Krolik <damian.krolik@nordicsemi.no>