Skip to content

Commit 74358b7

Browse files
committed
Merge branch 'cherry-pick-fa67274d' into 'release/v2.2.x'
fix: sync a bug fix of dns_enqueue with RTOS SDK. See merge request sdk/ESP8266_NONOS_SDK!157
2 parents c7b580c + 0070199 commit 74358b7

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 : 9f17ed94
21-
lwip : 1e469d5d
21+
lwip : cf6c1616
2222
mbedtls : 1e469d5d

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)