summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/store/modules/SecurityAndAccess/SessionsStore.js6
1 files changed, 1 insertions, 5 deletions
diff --git a/src/store/modules/SecurityAndAccess/SessionsStore.js b/src/store/modules/SecurityAndAccess/SessionsStore.js
index 37ba9fc2..54607ab6 100644
--- a/src/store/modules/SecurityAndAccess/SessionsStore.js
+++ b/src/store/modules/SecurityAndAccess/SessionsStore.js
@@ -25,14 +25,10 @@ const SessionsStore = {
)
.then((sessionUris) => {
const allConnectionsData = sessionUris.map((sessionUri) => {
- //For filtering IP address to IPv4
- let filteredIPAddress = sessionUri.data?.ClientOriginIPAddress.slice(
- 7
- );
return {
clientID: sessionUri.data?.Oem?.OpenBMC.ClientID,
username: sessionUri.data?.UserName,
- ipAddress: filteredIPAddress,
+ ipAddress: sessionUri.data?.ClientOriginIPAddress,
uri: sessionUri.data['@odata.id'],
};
});