diff options
| author | Adam Ierymenko <adam.ierymenko@gmail.com> | 2016-09-30 13:04:26 -0700 |
|---|---|---|
| committer | Adam Ierymenko <adam.ierymenko@gmail.com> | 2016-09-30 13:04:26 -0700 |
| commit | f0794e09b70bea92ac0fab65506bc52ddbfb0f65 (patch) | |
| tree | ebeb513f18b1c4341a01723ef9e34621f9ccd658 /controller/EmbeddedNetworkController.hpp | |
| parent | 9eaa3756f8dc711b6b828c8336ed34185b4b5834 (diff) | |
| download | infinitytier-f0794e09b70bea92ac0fab65506bc52ddbfb0f65.tar.gz infinitytier-f0794e09b70bea92ac0fab65506bc52ddbfb0f65.zip | |
Controller cleanup.
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 78d65c3a..bce8890c 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("ipAssignmentPools")) network["ipAssignmentPools"] = nlohmann::json::array(); if (!network.count("rules")) { // If unspecified, rules are set to allow anything and behave like a flat L2 segment network["rules"] = { |
