Add support for prefix, link local and global in same net

This commit is contained in:
Sergio R. Caprile committed 2025-12-08 16:05:32 -03:00
1 parent a42271a088
commit b0109c3319
5 files changed
+82 -40

No files matched your search

+1
View File
@@ -3202,6 +3202,7 @@ struct mg_tcpip_if {
#define MG_TCPIP_MTU_DEFAULT 1500
#if MG_ENABLE_IPV6
uint64_t ip6ll[2], ip6[2]; // IPv6 link-local and global addresses
uint8_t prefix[8]; // IPv6 global address prefix
uint8_t prefix_len; // Prefix length
uint64_t gw6[2]; // Default gateway
bool enable_slaac; // Enable IPv6 address autoconfiguration