From 35ac995d0510b4bacf1bd813641e4403519f3122 Mon Sep 17 00:00:00 2001 From: Adam Ierymenko Date: Fri, 26 Aug 2016 14:04:27 -0700 Subject: [PATCH] Fix setting of v6AssignMode in controller. --- controller/EmbeddedNetworkController.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/controller/EmbeddedNetworkController.cpp b/controller/EmbeddedNetworkController.cpp index 45af30bee..689905364 100644 --- a/controller/EmbeddedNetworkController.cpp +++ b/controller/EmbeddedNetworkController.cpp @@ -1330,8 +1330,8 @@ unsigned int EmbeddedNetworkController::handleControlPlaneHttpPOST( } else if (b["v6AssignMode"].is_object()) { json &v6m = b["v6AssignMode"]; if (v6m.count("rfc4193")) nv6m["rfc4193"] = _jB(v6m["rfc4193"],false); - if (v6m.count("zt")) nv6m["rfc4193"] = _jB(v6m["zt"],false); - if (v6m.count("6plane")) nv6m["rfc4193"] = _jB(v6m["6plane"],false); + if (v6m.count("zt")) nv6m["zt"] = _jB(v6m["zt"],false); + if (v6m.count("6plane")) nv6m["6plane"] = _jB(v6m["6plane"],false); } if (!nv6m.count("rfc4193")) nv6m["rfc4193"] = false; if (!nv6m.count("zt")) nv6m["zt"] = false;