mirror of
https://github.com/lwip-tcpip/lwip.git
synced 2024-12-28 18:16:13 +00:00
mdns: Update error message after argument type changed
Method argument is no longer netif, but a mdns_host
This commit is contained in:
parent
633696c153
commit
78498981e2
@ -591,7 +591,7 @@ mdns_build_host_domain(struct mdns_domain *domain, struct mdns_host *mdns)
|
||||
{
|
||||
err_t res;
|
||||
memset(domain, 0, sizeof(struct mdns_domain));
|
||||
LWIP_ERROR("mdns_build_host_domain: Not an mdns netif", (mdns != NULL), return ERR_VAL);
|
||||
LWIP_ERROR("mdns_build_host_domain: mdns != NULL", (mdns != NULL), return ERR_VAL);
|
||||
res = mdns_domain_add_label(domain, mdns->name, (u8_t)strlen(mdns->name));
|
||||
LWIP_ERROR("mdns_build_host_domain: Failed to add label", (res == ERR_OK), return res);
|
||||
return mdns_add_dotlocal(domain);
|
||||
|
Loading…
Reference in New Issue
Block a user