Adam Ierymenko hace 9 años
padre
commit
601c51b351
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      node/NetworkConfig.hpp

+ 1 - 1
node/NetworkConfig.hpp

@@ -432,7 +432,7 @@ public:
 				return true;
 			}
 		}
-		if (specialistCount >= ZT_MAX_NETWORK_SPECIALISTS) {
+		if (specialistCount < ZT_MAX_NETWORK_SPECIALISTS) {
 			specialists[specialistCount++] = f | aint;
 			return true;
 		}