feat(lwip): Added multiple dns ip support (v5.2)

LWIP submodule update on v5.2: git log --oneline f7922143..f1746813
  - feat(lwip): Added multiple dns ip support (espressif/esp-lwip@f1746813)
  - api_msg: Fix crash to fail-safe error if cannot get semaphore (espressif/esp-lwip@a1bd9e44)
This commit is contained in:
Abhik Roy
2024-04-17 23:56:11 +10:00
committed by David Cermak
parent ae914df9d2
commit bde21acfb6
4 changed files with 20 additions and 6 deletions

View File

@@ -470,6 +470,10 @@ static inline uint32_t timeout_from_offered(uint32_t lease, uint32_t min)
*/
#define LWIP_DNS 1
/** The maximum number of IP addresses per host
*/
#define DNS_MAX_HOST_IP CONFIG_LWIP_DNS_MAX_HOST_IP
/** The maximum of DNS servers
*/
#define DNS_MAX_SERVERS CONFIG_LWIP_DNS_MAX_SERVERS
@@ -1093,7 +1097,7 @@ static inline uint32_t timeout_from_offered(uint32_t lease, uint32_t min)
/**
* PPP_MAXIDLEFLAG: Max Xmit idle time (in ms) before resend flag char.
* TODO: If PPP_MAXIDLEFLAG > 0 and next package is send during PPP_MAXIDLEFLAG time,
* then 0x7E is not added at the begining of PPP package but 0x7E termination
* then 0x7E is not added at the beginning of PPP package but 0x7E termination
* is always at the end. This behaviour brokes PPP dial with GSM (PPPoS).
* The PPP package should always start and end with 0x7E.
*/