mirror of
https://github.com/zerotier/ZeroTierOne.git
synced 2025-01-18 18:56:24 +00:00
Fix setting of v6AssignMode in controller.
This commit is contained in:
parent
6bd5aba4fa
commit
35ac995d05
@ -1330,8 +1330,8 @@ unsigned int EmbeddedNetworkController::handleControlPlaneHttpPOST(
|
|||||||
} else if (b["v6AssignMode"].is_object()) {
|
} else if (b["v6AssignMode"].is_object()) {
|
||||||
json &v6m = b["v6AssignMode"];
|
json &v6m = b["v6AssignMode"];
|
||||||
if (v6m.count("rfc4193")) nv6m["rfc4193"] = _jB(v6m["rfc4193"],false);
|
if (v6m.count("rfc4193")) nv6m["rfc4193"] = _jB(v6m["rfc4193"],false);
|
||||||
if (v6m.count("zt")) nv6m["rfc4193"] = _jB(v6m["zt"],false);
|
if (v6m.count("zt")) nv6m["zt"] = _jB(v6m["zt"],false);
|
||||||
if (v6m.count("6plane")) nv6m["rfc4193"] = _jB(v6m["6plane"],false);
|
if (v6m.count("6plane")) nv6m["6plane"] = _jB(v6m["6plane"],false);
|
||||||
}
|
}
|
||||||
if (!nv6m.count("rfc4193")) nv6m["rfc4193"] = false;
|
if (!nv6m.count("rfc4193")) nv6m["rfc4193"] = false;
|
||||||
if (!nv6m.count("zt")) nv6m["zt"] = false;
|
if (!nv6m.count("zt")) nv6m["zt"] = false;
|
||||||
|
Loading…
Reference in New Issue
Block a user