(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:
parent
0e5aac6a11
commit
f69454ec98
29 changed files with 622 additions and 622 deletions
|
@ -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: {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue