Skip to content

Commit 89693b4

Browse files
committed
Merge branch 'cherry-pick-fa67274d-2' into 'release/v3.0.0'
fix: sync a bug fix of dns_enqueue with RTOS SDK. See merge request sdk/ESP8266_NONOS_SDK!158
2 parents f4cbca7 + 5939cd5 commit 89693b4

File tree

3 files changed

+3
-2
lines changed

3 files changed

+3
-2
lines changed

VERSION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,5 +18,5 @@ phy:
1818

1919
gitlab:
2020
driver : 32124083
21-
lwip : 78497e12
21+
lwip : bdcde0d7
2222
mbedtls : 78497e12

lib/liblwip.a

0 Bytes
Binary file not shown.

third_party/lwip/core/dns.c

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -883,7 +883,8 @@ dns_enqueue(const char *name, dns_found_callback found, void *callback_arg)
883883
size_t namelen;
884884

885885
/* search an unused entry, or the oldest one */
886-
lseq = lseqi = 0;
886+
lseq = 0;
887+
lseqi = DNS_TABLE_SIZE;
887888
for (i = 0; i < DNS_TABLE_SIZE; ++i) {
888889
pEntry = &dns_table[i];
889890
/* is it an unused entry ? */

0 commit comments

Comments
 (0)