Minor changes (replace DNS_COMPLETE by ERR_OK).

This commit is contained in:
fbernon 2007-12-19 20:52:02 +00:00
parent f2e2f7bf05
commit 04b00f954c

View File

@ -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 */