Allow user to set custom DHCP name

This commit is contained in:
Sergey Lyubka committed 2025-03-22 16:30:02 +00:00
1 parent 042ea53478
commit 064fc6ff7b
4 files changed
+54 -36

No files matched your search

+1
View File
@@ -47,6 +47,7 @@ struct mg_tcpip_if {
mg_tcpip_event_handler_t fn; // User-specified event handler function
struct mg_mgr *mgr; // Mongoose event manager
struct mg_queue recv_queue; // Receive queue
char dhcp_name[12]; // Name reported to DHCP, "mip" if unset
uint16_t mtu; // Interface MTU
#define MG_TCPIP_MTU_DEFAULT 1500