Fix bug #48359 (dns entries are not set to state DONE)

This commit is contained in:
goldsimon 2016-07-04 10:22:20 +02:00
parent d362e167c0
commit fd83f4fb22

View File

@ -1058,6 +1058,8 @@ dns_correct_response(u8_t idx, u32_t ttl)
{
struct dns_table_entry *entry = &dns_table[idx];
entry->state = DNS_STATE_DONE;
LWIP_DEBUGF(DNS_DEBUG, ("dns_recv: \"%s\": response = ", entry->name));
ip_addr_debug_print(DNS_DEBUG, (&(entry->ipaddr)));
LWIP_DEBUGF(DNS_DEBUG, ("\n"));