diff options
| author | Adam Ierymenko <adam.ierymenko@gmail.com> | 2015-10-01 18:12:16 -0700 |
|---|---|---|
| committer | Adam Ierymenko <adam.ierymenko@gmail.com> | 2015-10-01 18:12:16 -0700 |
| commit | 5384f185ae761a0efd46090a5824178f5dcd74bc (patch) | |
| tree | cbb8684271c004d6d206910afeb29bbd401d4e45 /node/Topology.cpp | |
| parent | 76a95dc58fdc35037c69d915ea9fe13522edf502 (diff) | |
| download | infinitytier-5384f185ae761a0efd46090a5824178f5dcd74bc.tar.gz infinitytier-5384f185ae761a0efd46090a5824178f5dcd74bc.zip | |
Simplify Dictionary and reduce memory usage, now no more std::maps in core.
Diffstat (limited to 'node/Topology.cpp')
| -rw-r--r-- | node/Topology.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/node/Topology.cpp b/node/Topology.cpp index 65abfc6f..908acbc8 100644 --- a/node/Topology.cpp +++ b/node/Topology.cpp @@ -140,7 +140,7 @@ void Topology::setRootServers(const Dictionary &sn) if ((d->first.length() == ZT_ADDRESS_LENGTH_HEX)&&(d->second.length() > 0)) { try { Dictionary snspec(d->second); - std::vector<InetAddress> &a = m[Identity(snspec.get("id"))]; + std::vector<InetAddress> &a = m[Identity(snspec.get("id",""))]; std::string udp(snspec.get("udp",std::string())); if (udp.length() > 0) a.push_back(InetAddress(udp)); |
