Fixed bug #49895: Incorrect configuration detection in lwip/dns.h

Signed-off-by: goldsimon <[email protected]>
This commit is contained in:
Thomas Mueller
2016-12-20 14:21:26 +01:00
committed by goldsimon
parent 16b895b466
commit be57134810
+1 -1
View File
@@ -61,7 +61,7 @@ extern "C" {
#ifndef LWIP_DNS_ADDRTYPE_DEFAULT
#define LWIP_DNS_ADDRTYPE_DEFAULT LWIP_DNS_ADDRTYPE_IPV4_IPV6
#endif
#elif defined(LWIP_IPV4)
#elif LWIP_IPV4
#define LWIP_DNS_ADDRTYPE_DEFAULT LWIP_DNS_ADDRTYPE_IPV4
#else
#define LWIP_DNS_ADDRTYPE_DEFAULT LWIP_DNS_ADDRTYPE_IPV6