We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f5675cc commit 26eb5f1Copy full SHA for 26eb5f1
features/FEATURE_LWIP/lwip-interface/lwip_stack.c
@@ -337,7 +337,7 @@ const char *mbed_lwip_get_netmask(char *buf, int buflen)
337
#if LWIP_IPV4
338
const ip4_addr_t *addr = netif_ip4_netmask(&lwip_netif);
339
if (!ip4_addr_isany(addr)) {
340
- return inet_ntoa_r(addr, buf, buflen);
+ return ip4addr_ntoa_r(addr, buf, buflen);
341
} else {
342
return NULL;
343
}
@@ -351,7 +351,7 @@ char *mbed_lwip_get_gateway(char *buf, int buflen)
351
352
const ip4_addr_t *addr = netif_ip4_gw(&lwip_netif);
353
354
355
356
357
0 commit comments