mirror of
https://github.com/zerotier/ZeroTierOne.git
synced 2025-06-06 20:43:44 +02:00
Another exception fix
This commit is contained in:
parent
6a9a577c59
commit
72ccd1020a
1 changed files with 4 additions and 1 deletions
|
@ -1047,7 +1047,10 @@ void PostgreSQL::commitThread()
|
||||||
if (!(*config)["remoteTraceTarget"].is_null()) {
|
if (!(*config)["remoteTraceTarget"].is_null()) {
|
||||||
remoteTraceTarget = (*config)["remoteTraceTarget"];
|
remoteTraceTarget = (*config)["remoteTraceTarget"];
|
||||||
}
|
}
|
||||||
std::string rulesSource = (*config)["rulesSource"];
|
std::string rulesSource;
|
||||||
|
if ((*config)["rulesSource"].is_string()) {
|
||||||
|
rulesSource = (*config)["rulesSource"];
|
||||||
|
}
|
||||||
std::string caps = OSUtils::jsonDump((*config)["capabilitles"], -1);
|
std::string caps = OSUtils::jsonDump((*config)["capabilitles"], -1);
|
||||||
std::string now = std::to_string(OSUtils::now());
|
std::string now = std::to_string(OSUtils::now());
|
||||||
std::string mtu = std::to_string((int)(*config)["mtu"]);
|
std::string mtu = std::to_string((int)(*config)["mtu"]);
|
||||||
|
|
Loading…
Add table
Reference in a new issue