From 7a37326cc093a92d57aab86dc39b1b399717cf38 Mon Sep 17 00:00:00 2001 From: Adam Ierymenko Date: Tue, 14 Oct 2014 14:59:17 -0700 Subject: [PATCH] Fix sleeper bug that probably did nothing in setSupernodes(). --- node/Topology.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/node/Topology.cpp b/node/Topology.cpp index c8f14a2cb..586ce9964 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(udp),false)); std::string tcp(snspec.get("tcp",std::string())); + if (tcp.length() > 0) a.push_back(std::pair(InetAddress(tcp),true)); } catch ( ... ) { LOG("supernode list contained invalid entry for: %s",d->first.c_str());