From 19fb36000ca4567f5c92ef738bab9cbcfde0f421 Mon Sep 17 00:00:00 2001 From: chendejin Date: Wed, 3 Jan 2024 17:12:41 +0800 Subject: [PATCH] fix(mdns): fix copy delegated host addr --- components/mdns/mdns.c | 1 + 1 file changed, 1 insertion(+) diff --git a/components/mdns/mdns.c b/components/mdns/mdns.c index 9d3224f0b4..5e0c3523d5 100644 --- a/components/mdns/mdns.c +++ b/components/mdns/mdns.c @@ -5882,6 +5882,7 @@ static mdns_ip_addr_t *_copy_delegated_host_address_list(char *hostname) if (strcasecmp(host->hostname, hostname) == 0) { return copy_address_list(host->address_list); } + host = host->next; } return NULL; }