Another tiny API bug fix.

This commit is contained in:
Adam Ierymenko 2016-08-26 14:16:55 -07:00
parent 35ac995d05
commit 297b1b4258

View File

@ -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;