mirror of
https://github.com/cesanta/mongoose.git
synced 2026-11-06 15:51:25 +00:00
Built-in TCP/IP (re-)starts DNS connection on link up
This commit is contained in:
1 parent
1494f5e831
commit
393063428e
6 files changed
+81
-31
No files matched your search
@@ -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
|
||||
|
||||
Reference in new issue
Block a user