diff options
author | Adam Ierymenko <adam.ierymenko@gmail.com> | 2014-10-14 14:59:17 -0700 |
---|---|---|
committer | Adam Ierymenko <adam.ierymenko@gmail.com> | 2014-10-14 14:59:17 -0700 |
commit | 7a37326cc093a92d57aab86dc39b1b399717cf38 (patch) | |
tree | 3bd8a2ebf3c2ad16733a87b616f11c8e083f3648 | |
parent | 42d644a57ea65144be2e9ffb0319701a7187c33f (diff) | |
download | infinitytier-7a37326cc093a92d57aab86dc39b1b399717cf38.tar.gz infinitytier-7a37326cc093a92d57aab86dc39b1b399717cf38.zip |
Fix sleeper bug that probably did nothing in setSupernodes().
-rw-r--r-- | node/Topology.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/node/Topology.cpp b/node/Topology.cpp index c8f14a2c..586ce996 100644 --- a/node/Topology.cpp +++ b/node/Topology.cpp @@ -89,6 +89,7 @@ void Topology::setSupernodes(const Dictionary &sn) if (udp.length() > 0) a.push_back(std::pair<InetAddress,bool>(InetAddress(udp),false)); std::string tcp(snspec.get("tcp",std::string())); + if (tcp.length() > 0) a.push_back(std::pair<InetAddress,bool>(InetAddress(tcp),true)); } catch ( ... ) { LOG("supernode list contained invalid entry for: %s",d->first.c_str()); |