Built-in TCP/IP (re-)starts DNS connection on link up

This commit is contained in:
Sergio R. Caprile committed 2025-07-14 15:06:31 -03:00
1 parent 1494f5e831
commit 393063428e
6 files changed
+81 -31

No files matched your search

+1
View File
@@ -57,6 +57,7 @@ struct mg_tcpip_if {
// Internal state, user can use it but should not change it
uint8_t gwmac[6]; // Router's MAC
char *dns4_url; // DNS server URL
uint64_t now; // Current time
uint64_t timer_1000ms; // 1000 ms timer: for DHCP and link state
uint64_t lease_expire; // Lease expiration time, in ms