(1) Make ZT_ naming convention consistent (get rid of ZT1_), (2) Make local interface a full sockaddr_storage instead of an int identifier, which turns out to be better for multi-homing and other uses.
This commit is contained in:
@@ -90,7 +90,7 @@ restart_node:
|
||||
_service = (ZeroTier::OneService *)0; // in case newInstance() fails
|
||||
_service = ZeroTier::OneService::newInstance(
|
||||
ZeroTier::OneService::platformDefaultHomePath().c_str(),
|
||||
ZT1_DEFAULT_PORT);
|
||||
ZT_DEFAULT_PORT);
|
||||
}
|
||||
switch(_service->run()) {
|
||||
case ZeroTier::OneService::ONE_UNRECOVERABLE_ERROR: {
|
||||
|
||||
Reference in New Issue
Block a user