Release notes: 1.8.0 - Upgrade json.hpp dependency to version 3.10.2 - Check if DNS servers need to be applied on macOS - Set MAC address before bringing up Linux TAP link - Stop binding to temporary IPv6 addresses - Fix for mistakenly using v6 source addresses for v4 routes on some platforms - Fix for MacOS MTU capping issue on feth devices - Implement a workaround for one potential source of a "coma" bug, which can occur if buggy NATs/routers stop allowing the service to communicate on a given port. ZeroTier now reassigns a new secondary port if it's offline for a while unless a secondary port is manually specified in local.conf. Working around crummy buggy routers is an ongoing effort. - A completely rewritten desktop UI for Mac and Windows! 1.8.1 - Fix an issue that could cause clobbering of MacOS IP route settings on restart. - Added additional hardening against address impersonation on networks (also in 1.6.6). - MacOS IPv6 no longer binds to temporary addresses as these can cause interruptions if they expire. - Remove support for REALLY ancient 1.1.6 or earlier network controllers. - Fix numerous UI issues from 1.8.0 (never fully released). Changed to git as source and added $(AUTORELEASE) Signed-off-by: Oskari Rauta <oskari.rauta@gmail.com>
15 lines
628 B
Diff
15 lines
628 B
Diff
--- a/osdep/Binder.hpp
|
|
+++ b/osdep/Binder.hpp
|
|
@@ -440,9 +440,9 @@ class Binder {
|
|
}
|
|
#endif // __LINUX__
|
|
if (_bindingCount < ZT_BINDER_MAX_BINDINGS) {
|
|
- _bindings[_bindingCount].udpSock = udps;
|
|
- _bindings[_bindingCount].tcpListenSock = tcps;
|
|
- _bindings[_bindingCount].address = ii->first;
|
|
+ _bindings[(unsigned int)_bindingCount].udpSock = udps;
|
|
+ _bindings[(unsigned int)_bindingCount].tcpListenSock = tcps;
|
|
+ _bindings[(unsigned int)_bindingCount].address = ii->first;
|
|
phy.setIfName(udps, (char*)ii->second.c_str(), (int)ii->second.length());
|
|
++_bindingCount;
|
|
}
|