From 969306f0f1c579111b4173ea5084c09881621b7b Mon Sep 17 00:00:00 2001 From: Sylvain Rochet Date: Sun, 8 Mar 2015 13:57:13 +0100 Subject: [PATCH] API: netdb: replaced deprecated ip_ntoa() to ipaddr_ntoa() --- src/api/netdb.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/api/netdb.c b/src/api/netdb.c index ad939445..04dc278a 100644 --- a/src/api/netdb.c +++ b/src/api/netdb.c @@ -124,7 +124,7 @@ lwip_gethostbyname(const char *name) u8_t 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, ip_ntoa((ip_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 */