This commit is contained in:
Joseph Henry 2021-12-14 15:31:29 -08:00
commit 8019f13479
4 changed files with 141 additions and 1 deletions

View file

@ -2043,6 +2043,11 @@ public:
fprintf(stderr,"ERROR: unable to add ip address %s" ZT_EOL_S, ip->toString(ipbuf));
}
}
#ifdef __APPLE__
if (!MacDNSHelper::addIps(n.config.nwid, n.config.mac, n.tap->deviceName().c_str(), newManagedIps))
fprintf(stderr, "ERROR: unable to add v6 addresses to system configuration" ZT_EOL_S);
#endif
#endif
n.managedIps.swap(newManagedIps);
}