From 32f5a0ab1856485fb021fbf98920e8a9d63f0e23 Mon Sep 17 00:00:00 2001 From: Adam Ierymenko Date: Tue, 21 Feb 2017 13:27:20 -0800 Subject: Add default tag values and default set capabilities for new members. --- controller/EmbeddedNetworkController.hpp | 1 + 1 file changed, 1 insertion(+) (limited to 'controller/EmbeddedNetworkController.hpp') 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")) { -- cgit v1.2.3