mirror of
https://github.com/lwip-tcpip/lwip.git
synced 2024-12-25 18:14:53 +00:00
parent
3ff267fbed
commit
8a900aa81f
@ -128,8 +128,7 @@ lwip_gethostbyname(const char *name)
|
|||||||
if (s_hostent.h_addr_list != NULL) {
|
if (s_hostent.h_addr_list != NULL) {
|
||||||
u8_t idx;
|
u8_t idx;
|
||||||
for (idx = 0; s_hostent.h_addr_list[idx]; idx++) {
|
for (idx = 0; s_hostent.h_addr_list[idx]; idx++) {
|
||||||
LWIP_DEBUGF(DNS_DEBUG, ("hostent.h_addr_list[%i] == %p\n", idx, s_hostent.h_addr_list[idx]));
|
LWIP_DEBUGF(DNS_DEBUG, ("hostent.h_addr_list[%i]-> == %s\n", idx, ipaddr_ntoa(s_phostent_addr[idx])));
|
||||||
LWIP_DEBUGF(DNS_DEBUG, ("hostent.h_addr_list[%i]-> == %s\n", idx, ipaddr_ntoa((ip_addr_t *)s_hostent.h_addr_list[idx])));
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
#endif /* DNS_DEBUG */
|
#endif /* DNS_DEBUG */
|
||||||
|
Loading…
Reference in New Issue
Block a user