mirror of
https://github.com/lwip-tcpip/lwip.git
synced 2024-08-25 15:42:56 +00:00
Fix bug #48359 (dns entries are not set to state DONE)
This commit is contained in:
parent
d362e167c0
commit
fd83f4fb22
@ -1058,6 +1058,8 @@ dns_correct_response(u8_t idx, u32_t ttl)
|
|||||||
{
|
{
|
||||||
struct dns_table_entry *entry = &dns_table[idx];
|
struct dns_table_entry *entry = &dns_table[idx];
|
||||||
|
|
||||||
|
entry->state = DNS_STATE_DONE;
|
||||||
|
|
||||||
LWIP_DEBUGF(DNS_DEBUG, ("dns_recv: \"%s\": response = ", entry->name));
|
LWIP_DEBUGF(DNS_DEBUG, ("dns_recv: \"%s\": response = ", entry->name));
|
||||||
ip_addr_debug_print(DNS_DEBUG, (&(entry->ipaddr)));
|
ip_addr_debug_print(DNS_DEBUG, (&(entry->ipaddr)));
|
||||||
LWIP_DEBUGF(DNS_DEBUG, ("\n"));
|
LWIP_DEBUGF(DNS_DEBUG, ("\n"));
|
||||||
|
Loading…
Reference in New Issue
Block a user