mirror of
https://github.com/ep00ch/lwip-contrib-mac.git
synced 2024-08-27 11:29:21 +00:00
Minor changes (replace DNS_COMPLETE by ERR_OK).
This commit is contained in:
parent
f2e2f7bf05
commit
04b00f954c
@ -300,7 +300,7 @@ apps_init()
|
||||
#if LWIP_DNS
|
||||
char* dnsname="3com.com";
|
||||
struct ip_addr dnsresp;
|
||||
if (dns_gethostbyname(dnsname, &dnsresp, dns_found, 0) == DNS_COMPLETE) {
|
||||
if (dns_gethostbyname(dnsname, &dnsresp, dns_found, 0) == ERR_OK) {
|
||||
dns_found(dnsname, &dnsresp, 0);
|
||||
}
|
||||
#endif /* LWIP_DNS */
|
||||
|
Loading…
Reference in New Issue
Block a user