diff --git a/controller/EmbeddedNetworkController.cpp b/controller/EmbeddedNetworkController.cpp index 3fb39aa3a..1ab48f41b 100644 --- a/controller/EmbeddedNetworkController.cpp +++ b/controller/EmbeddedNetworkController.cpp @@ -1031,25 +1031,21 @@ unsigned int EmbeddedNetworkController::handleControlPlaneHttpPOST( if (b.count("dns")) { json &dns = b["dns"]; - if (dns.is_array()) { - json nda = json::array(); - for(unsigned int i=0;i