Some work on IPv4 enabled ad-hoc networks.
This commit is contained in:
parent
574b24c082
commit
bbdb2aa672
2 changed files with 95 additions and 50 deletions
|
@ -41,7 +41,6 @@ void DB::initNetwork(nlohmann::json &network)
|
|||
if (!network.count("tags")) network["tags"] = nlohmann::json::array();
|
||||
if (!network.count("routes")) network["routes"] = nlohmann::json::array();
|
||||
if (!network.count("ipAssignmentPools")) network["ipAssignmentPools"] = nlohmann::json::array();
|
||||
//if (!network.count("anchors")) network["anchors"] = nlohmann::json::array();
|
||||
if (!network.count("mtu")) network["mtu"] = ZT_DEFAULT_MTU;
|
||||
if (!network.count("remoteTraceTarget")) network["remoteTraceTarget"] = nlohmann::json();
|
||||
if (!network.count("removeTraceLevel")) network["remoteTraceLevel"] = 0;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue