summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--node/Topology.cpp1
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());