summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--redfish-core/lib/network_protocol.hpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/redfish-core/lib/network_protocol.hpp b/redfish-core/lib/network_protocol.hpp
index 5c473a6ff3..c3165ee0da 100644
--- a/redfish-core/lib/network_protocol.hpp
+++ b/redfish-core/lib/network_protocol.hpp
@@ -60,7 +60,7 @@ inline void extractNTPServersAndDomainNamesData(
for (const auto& propertyPair : ifacePair.second)
{
- if (propertyPair.first == "NTPServers")
+ if (propertyPair.first == "StaticNTPServers")
{
const std::vector<std::string>* ntpServers =
std::get_if<std::vector<std::string>>(
@@ -352,7 +352,7 @@ inline void
}
},
service, objectPath, "org.freedesktop.DBus.Properties",
- "Set", interface, "NTPServers",
+ "Set", interface, "StaticNTPServers",
dbus::utility::DbusVariantType{currentNtpServers});
}
}