mirror of
https://github.com/zerotier/ZeroTierOne.git
synced 2025-06-13 04:38:28 +00:00
Fix for GitHub issue #358 and bump version to 1.1.13 (dev)
This commit is contained in:
@ -365,9 +365,10 @@ public:
|
||||
{
|
||||
while (ptr < specialistCount) {
|
||||
if ((specialists[ptr] & ZT_NETWORKCONFIG_SPECIALIST_TYPE_NETWORK_PREFERRED_RELAY) != 0) {
|
||||
return Address(specialists[ptr]);
|
||||
return Address(specialists[ptr++]);
|
||||
} else {
|
||||
++ptr;
|
||||
}
|
||||
++ptr;
|
||||
}
|
||||
return Address();
|
||||
}
|
||||
|
Reference in New Issue
Block a user