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

@@ -1478,7 +1478,7 @@ dns_gethostbyname_addrtype(const char *hostname, ip_addr_t *addr, dns_found_call
return ERR_OK;
}
#if LWIP_IPV4 && LWIP_IPV6
if ((dns_addrtype == LWIP_DNS_ADDRTYPE_IPV4_IPV6) || (dns_addrtype == LWIP_DNS_ADDRTYPE_IPV4_IPV6)) {
if ((dns_addrtype == LWIP_DNS_ADDRTYPE_IPV4_IPV6) || (dns_addrtype == LWIP_DNS_ADDRTYPE_IPV6_IPV4)) {
/* fallback to 2nd IP type and try again to lookup */
u8_t fallback;
if (dns_addrtype == LWIP_DNS_ADDRTYPE_IPV4_IPV6) {