summaryrefslogtreecommitdiff
path: root/redfish-core/lib/ethernet.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'redfish-core/lib/ethernet.hpp')
-rw-r--r--redfish-core/lib/ethernet.hpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/redfish-core/lib/ethernet.hpp b/redfish-core/lib/ethernet.hpp
index 17b953b8ee..09074fda57 100644
--- a/redfish-core/lib/ethernet.hpp
+++ b/redfish-core/lib/ethernet.hpp
@@ -1546,7 +1546,7 @@ class EthernetInterface : public Node
}
else
{
- json_response["StaticNameServers"] = {};
+ json_response["StaticNameServers"] = nlohmann::json::array();
}
nlohmann::json &ipv4_array = json_response["IPv4Addresses"];