mirror of
https://github.com/cesanta/mongoose.git
synced 2026-10-26 12:14:56 +00:00
Add support for prefix, link local and global in same net
This commit is contained in:
1 parent
a42271a088
commit
b0109c3319
5 files changed
+82
-40
No files matched your search
@@ -251,6 +251,8 @@ static void init_tests(struct mg_mgr *mgr, struct eth *e, struct ipp *ipp,
|
||||
#if MG_ENABLE_IPV6
|
||||
if (ipp->ip6 != NULL) {
|
||||
mif->ip6[0] = 1;
|
||||
mif->prefix[0] = 1;
|
||||
mif->prefix_len = 64;
|
||||
mif->gw6[0] = 1;
|
||||
mif->gw6_ready = true;
|
||||
mif->state = MG_TCPIP_STATE_READY; // so DHCP stops
|
||||
|
||||
Reference in new issue
Block a user