mirror of
https://github.com/zerotier/ZeroTierOne.git
synced 2025-06-05 03:53:44 +02:00
Fix for GitHub issue #358 and bump version to 1.1.13 (dev)
This commit is contained in:
parent
4b9e84f42f
commit
6320879fe1
2 changed files with 4 additions and 3 deletions
|
@ -365,9 +365,10 @@ public:
|
||||||
{
|
{
|
||||||
while (ptr < specialistCount) {
|
while (ptr < specialistCount) {
|
||||||
if ((specialists[ptr] & ZT_NETWORKCONFIG_SPECIALIST_TYPE_NETWORK_PREFERRED_RELAY) != 0) {
|
if ((specialists[ptr] & ZT_NETWORKCONFIG_SPECIALIST_TYPE_NETWORK_PREFERRED_RELAY) != 0) {
|
||||||
return Address(specialists[ptr]);
|
return Address(specialists[ptr++]);
|
||||||
|
} else {
|
||||||
|
++ptr;
|
||||||
}
|
}
|
||||||
++ptr;
|
|
||||||
}
|
}
|
||||||
return Address();
|
return Address();
|
||||||
}
|
}
|
||||||
|
|
|
@ -32,6 +32,6 @@
|
||||||
/**
|
/**
|
||||||
* Revision
|
* Revision
|
||||||
*/
|
*/
|
||||||
#define ZEROTIER_ONE_VERSION_REVISION 12
|
#define ZEROTIER_ONE_VERSION_REVISION 13
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|
Loading…
Add table
Reference in a new issue