fixed missing #endif

This commit is contained in:
sg 2015-09-04 21:02:24 +02:00
parent 196120fabd
commit 6795590603

View File

@ -321,6 +321,7 @@ lwip_getaddrinfo(const char *nodename, const char *servname,
(!IP_IS_V6_VAL(addr) && ai_family == AF_INET6)) { (!IP_IS_V6_VAL(addr) && ai_family == AF_INET6)) {
return EAI_NONAME; return EAI_NONAME;
} }
#endif /* LWIP_IPV4 && LWIP_IPV6 */
} else { } else {
#if LWIP_IPV4 && LWIP_IPV6 #if LWIP_IPV4 && LWIP_IPV6
/* AF_UNSPEC: prefer IPv4 */ /* AF_UNSPEC: prefer IPv4 */