diff options
author | Adam Ierymenko <adam.ierymenko@gmail.com> | 2017-02-21 13:27:20 -0800 |
---|---|---|
committer | Adam Ierymenko <adam.ierymenko@gmail.com> | 2017-02-21 13:27:20 -0800 |
commit | 32f5a0ab1856485fb021fbf98920e8a9d63f0e23 (patch) | |
tree | 9b71ade717e81a8243561ff2d43941c603dcb7fe /controller/EmbeddedNetworkController.hpp | |
parent | e4135ffb351020b135695ac800c7ac33d1200c1e (diff) | |
download | infinitytier-32f5a0ab1856485fb021fbf98920e8a9d63f0e23.tar.gz infinitytier-32f5a0ab1856485fb021fbf98920e8a9d63f0e23.zip |
Add default tag values and default set capabilities for new members.
Diffstat (limited to 'controller/EmbeddedNetworkController.hpp')
-rw-r--r-- | controller/EmbeddedNetworkController.hpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/controller/EmbeddedNetworkController.hpp b/controller/EmbeddedNetworkController.hpp index bd3a6666..3e39eaf5 100644 --- a/controller/EmbeddedNetworkController.hpp +++ b/controller/EmbeddedNetworkController.hpp @@ -165,6 +165,7 @@ private: if (!network.count("v6AssignMode")) network["v6AssignMode"] = {{"rfc4193",false},{"zt",false},{"6plane",false}}; if (!network.count("authTokens")) network["authTokens"] = nlohmann::json::array(); if (!network.count("capabilities")) network["capabilities"] = nlohmann::json::array(); + 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("rules")) { |