mirror of
https://github.com/lwip-tcpip/lwip.git
synced 2025-01-16 16:13:45 +00:00
netdb: fix debug output when IPv6 is enabled
This commit is contained in:
parent
177c06b1f1
commit
e97f9fca22
@ -127,7 +127,7 @@ lwip_gethostbyname(const char *name)
|
|||||||
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] == %p\n", idx, s_hostent.h_addr_list[idx]));
|
||||||
LWIP_DEBUGF(DNS_DEBUG, ("hostent.h_addr_list[%i]-> == %s\n", idx, ipaddr_ntoa((ip4_addr_t*)s_hostent.h_addr_list[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