未验证 提交 436d9d93 编写于 作者: B Bernard Xiong 提交者: GitHub

Update dns.c

上级 f089a6ce
......@@ -666,7 +666,6 @@ dns_check_entry(u8_t i)
pEntry->numdns++;
pEntry->tmr = 1;
pEntry->retries = 0;
// break;
} else {
LWIP_DEBUGF(DNS_DEBUG, ("dns_check_entry: \"%s\": timeout\n", pEntry->name));
/* call specified callback function if provided */
......@@ -678,7 +677,7 @@ dns_check_entry(u8_t i)
break;
}
}
else{
else {
/* wait longer for the next retry */
pEntry->tmr = pEntry->retries;
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册