summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAdam Ierymenko <adam.ierymenko@gmail.com>2016-08-26 14:16:55 -0700
committerAdam Ierymenko <adam.ierymenko@gmail.com>2016-08-26 14:16:55 -0700
commit297b1b4258f6ec59f08590170e0dbad22dd6e790 (patch)
treec80bab307749e70aabe9f8c3442e534f3960d285
parent35ac995d0510b4bacf1bd813641e4403519f3122 (diff)
downloadinfinitytier-297b1b4258f6ec59f08590170e0dbad22dd6e790.tar.gz
infinitytier-297b1b4258f6ec59f08590170e0dbad22dd6e790.zip
Another tiny API bug fix.
-rw-r--r--controller/EmbeddedNetworkController.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/controller/EmbeddedNetworkController.cpp b/controller/EmbeddedNetworkController.cpp
index 68990536..c14fc101 100644
--- a/controller/EmbeddedNetworkController.cpp
+++ b/controller/EmbeddedNetworkController.cpp
@@ -1319,6 +1319,9 @@ unsigned int EmbeddedNetworkController::handleControlPlaneHttpPOST(
std::vector<std::string> v6m(Utils::split(_jS(b["v6AssignMode"],"").c_str(),",","",""));
std::sort(v6m.begin(),v6m.end());
v6m.erase(std::unique(v6m.begin(),v6m.end()),v6m.end());
+ nv6m["rfc4193"] = false;
+ nv6m["zt"] = false;
+ nv6m["6plane"] = false;
for(std::vector<std::string>::iterator i(v6m.begin());i!=v6m.end();++i) {
if (*i == "rfc4193")
nv6m["rfc4193"] = true;