From d765c9de3776e89f63e0ba6f9ffd302c110d9d99 Mon Sep 17 00:00:00 2001 From: goldsimon Date: Sat, 28 May 2011 09:32:42 +0000 Subject: [PATCH] Fixed ipX_netif_get_local_ipX for LWIP_IPV6==0 --- src/include/lwip/ip.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/include/lwip/ip.h b/src/include/lwip/ip.h index 6564ea83..f29ebf67 100644 --- a/src/include/lwip/ip.h +++ b/src/include/lwip/ip.h @@ -228,8 +228,8 @@ extern struct ip_globals ip_data; ip_output_hinted(p, src, dest, ttl, tos, proto, addr_hint) #define ipX_route(isipv6, src, dest) \ ip_route(ipX_2_ip(dest)) -#define ipX_netif_get_local_ip(isipv6, netif, dest) \ - ip_get_local_ip(netif) +#define ipX_netif_get_local_ipX(isipv6, netif, dest) \ + ip_netif_get_local_ipX(netif) #define ipX_debug_print(is_ipv6, p) ip_debug_print(p) #endif /* LWIP_IPV6 */