mirror of
https://github.com/zerotier/ZeroTierOne.git
synced 2025-06-06 20:43:44 +02:00
Fix sleeper bug that probably did nothing in setSupernodes().
This commit is contained in:
parent
42d644a57e
commit
7a37326cc0
1 changed files with 1 additions and 0 deletions
|
@ -89,6 +89,7 @@ void Topology::setSupernodes(const Dictionary &sn)
|
||||||
if (udp.length() > 0)
|
if (udp.length() > 0)
|
||||||
a.push_back(std::pair<InetAddress,bool>(InetAddress(udp),false));
|
a.push_back(std::pair<InetAddress,bool>(InetAddress(udp),false));
|
||||||
std::string tcp(snspec.get("tcp",std::string()));
|
std::string tcp(snspec.get("tcp",std::string()));
|
||||||
|
if (tcp.length() > 0)
|
||||||
a.push_back(std::pair<InetAddress,bool>(InetAddress(tcp),true));
|
a.push_back(std::pair<InetAddress,bool>(InetAddress(tcp),true));
|
||||||
} catch ( ... ) {
|
} catch ( ... ) {
|
||||||
LOG("supernode list contained invalid entry for: %s",d->first.c_str());
|
LOG("supernode list contained invalid entry for: %s",d->first.c_str());
|
||||||
|
|
Loading…
Add table
Reference in a new issue