summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--controller/EmbeddedNetworkController.hpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/controller/EmbeddedNetworkController.hpp b/controller/EmbeddedNetworkController.hpp
index bce8890c..1e0fa576 100644
--- a/controller/EmbeddedNetworkController.hpp
+++ b/controller/EmbeddedNetworkController.hpp
@@ -168,10 +168,10 @@ private:
if (!network.count("ipAssignmentPools")) network["ipAssignmentPools"] = nlohmann::json::array();
if (!network.count("rules")) {
// If unspecified, rules are set to allow anything and behave like a flat L2 segment
- network["rules"] = {
+ network["rules"] = {{
{ "not",false },
{ "type","ACTION_ACCEPT" }
- };
+ }};
}
network["objtype"] = "network";
}