mirror of
https://git.savannah.nongnu.org/git/lwip.git
synced 2026-08-09 17:13:49 +08:00
Fix typos from task #12243
This fixes two typos spotted during visual inspection of changes related to task #12243
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user