mirror of
https://github.com/zerotier/ZeroTierOne.git
synced 2025-06-06 12:33:44 +02:00
typo
This commit is contained in:
parent
426b7c2c76
commit
236a952458
1 changed files with 1 additions and 1 deletions
|
@ -392,7 +392,7 @@ bool JSONDB::_load(const std::string &p)
|
||||||
std::string objtype(OSUtils::jsonString(j["objtype"],""));
|
std::string objtype(OSUtils::jsonString(j["objtype"],""));
|
||||||
|
|
||||||
if ((id.length() == 16)&&(objtype == "network")) {
|
if ((id.length() == 16)&&(objtype == "network")) {
|
||||||
const uint64_t nwid = Utils::hexStrToU64(const char *s)(id.c_str());
|
const uint64_t nwid = Utils::hexStrToU64(id.c_str());
|
||||||
if (nwid) {
|
if (nwid) {
|
||||||
Mutex::Lock _l(_networks_m);
|
Mutex::Lock _l(_networks_m);
|
||||||
_networks[nwid].config = nlohmann::json::to_msgpack(j);
|
_networks[nwid].config = nlohmann::json::to_msgpack(j);
|
||||||
|
|
Loading…
Add table
Reference in a new issue