summaryrefslogtreecommitdiff
path: root/redfish-core/lib/redfish_util.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'redfish-core/lib/redfish_util.hpp')
-rw-r--r--redfish-core/lib/redfish_util.hpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/redfish-core/lib/redfish_util.hpp b/redfish-core/lib/redfish_util.hpp
index a742ca69bd..2e4c6e5a38 100644
--- a/redfish-core/lib/redfish_util.hpp
+++ b/redfish-core/lib/redfish_util.hpp
@@ -160,8 +160,8 @@ void getPortStatusAndPath(
const std::string& unitState =
std::get<NET_PROTO_UNIT_SUB_STATE>(unit);
- bool isProtocolEnabled =
- ((unitState == "running") || (unitState == "listening"));
+ bool isProtocolEnabled = ((unitState == "running") ||
+ (unitState == "listening"));
socketData.emplace_back(socketPath, std::string(kv.first),
isProtocolEnabled);