mirror of
https://github.com/lwip-tcpip/lwip.git
synced 2024-12-28 09:19:53 +00:00
fixed missing #endif
This commit is contained in:
parent
196120fabd
commit
6795590603
@ -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 */
|
||||||
|
Loading…
Reference in New Issue
Block a user