summaryrefslogtreecommitdiff
path: root/controller/EmbeddedNetworkController.hpp
diff options
context:
space:
mode:
authorAdam Ierymenko <adam.ierymenko@gmail.com>2017-02-21 13:27:20 -0800
committerAdam Ierymenko <adam.ierymenko@gmail.com>2017-02-21 13:27:20 -0800
commit32f5a0ab1856485fb021fbf98920e8a9d63f0e23 (patch)
tree9b71ade717e81a8243561ff2d43941c603dcb7fe /controller/EmbeddedNetworkController.hpp
parente4135ffb351020b135695ac800c7ac33d1200c1e (diff)
downloadinfinitytier-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.hpp1
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")) {