Fix typos from task #12243

This fixes two typos spotted during visual inspection of changes related
to task #12243
This commit is contained in:
Joel Cunningham
2015-09-14 13:30:22 -05:00
committed by sg
parent 4704c9a0ad
commit 7276f49f54
2 changed files with 3 additions and 3 deletions

View File

@@ -290,9 +290,9 @@ lwip_getaddrinfo(const char *nodename, const char *servname,
#if LWIP_IPV4
&& (ai_family != AF_INET)
#endif /* LWIP_IPV4 */
#if LWIP_IPV4
#if LWIP_IPV6
&& (ai_family != AF_INET6)
#endif /* LWIP_IPV4 */
#endif /* LWIP_IPV6 */
) {
return EAI_FAMILY;
}