summaryrefslogtreecommitdiffstats
path: root/session.hpp
diff options
context:
space:
mode:
authorTom Joseph <tomjoseph@in.ibm.com>2018-03-21 19:31:58 +0530
committerTom Joseph <tomjoseph@in.ibm.com>2018-04-23 16:00:58 +0530
commit56527b9331eaf18deb40bc71e8da630535b5e5a4 (patch)
tree9f3c83f55908a5d81aeae41413bb27f53ee83823 /session.hpp
parent62ec622e0b71fb396ef681ad4cadc4a567ce5d85 (diff)
downloadphosphor-net-ipmid-56527b9331eaf18deb40bc71e8da630535b5e5a4.tar.gz
phosphor-net-ipmid-56527b9331eaf18deb40bc71e8da630535b5e5a4.zip
Support username for IPMI default user account
The current support in IPMI is for the nameless account, which has no username and only password associated with the account. In ipmitool for the nameless account -U option is not needed. There are management scripts which take a parameter for -U option and fails if -U option is not supported by ipmitool option. This patch is to support "admin" username for the default account. Once full fledged user account management is in place, this change can be removed. Change-Id: Idad73c0d04f189af66f2365424a68a637fe0e476 Signed-off-by: Tom Joseph <tomjoseph@in.ibm.com>
Diffstat (limited to 'session.hpp')
-rw-r--r--session.hpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/session.hpp b/session.hpp
index feef2d4..f010a49 100644
--- a/session.hpp
+++ b/session.hpp
@@ -247,7 +247,7 @@ class Session
SequenceNumbers sequenceNums; // Session Sequence Numbers
State state = State::INACTIVE; // Session State
- std::vector<char> userName; // User Name
+ std::string userName {}; // User Name
/** @brief Socket channel for communicating with the remote client.*/
std::shared_ptr<udpsocket::Channel> channelPtr;
OpenPOWER on IntegriCloud