diff options
author | Adam Ierymenko <adam.ierymenko@gmail.com> | 2016-06-16 23:18:20 +0000 |
---|---|---|
committer | Adam Ierymenko <adam.ierymenko@gmail.com> | 2016-06-16 23:18:20 +0000 |
commit | 601c51b351fc097c27aef9be8f5471099fffeb3a (patch) | |
tree | 83ba698470d8c44d2eeae420a4b38938577197e0 | |
parent | 20d4dada404ae6dfe9534721376403bb1efcb490 (diff) | |
download | infinitytier-601c51b351fc097c27aef9be8f5471099fffeb3a.tar.gz infinitytier-601c51b351fc097c27aef9be8f5471099fffeb3a.zip |
Bug fix.
-rw-r--r-- | node/NetworkConfig.hpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/node/NetworkConfig.hpp b/node/NetworkConfig.hpp index e7a3e0ea..30d8c9fc 100644 --- a/node/NetworkConfig.hpp +++ b/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; } |