Update the remote ip addr to session properties
Add remote ip address to session properties so that it is passed to
ipmi-host. This will enable certain commands to know the remote ip
address.
Tested:
Get session info command shows the remote ip address of the active
sessions.
ipmitool -I lanplus -H <ip_addr> -U <user> -P <password> session info all
session handle : 129
slot count : 45
active sessions : 1
user id : 1
privilege level : ADMINISTRATOR
session type : IPMIv1.5
channel number : 0x03
console ip : <remote ip address>
console mac : 00:00:00:00:00:00
console port : 50854
session handle : 0
slot count : 45
active sessions : 1
Signed-off-by: Rajashekar Gade Reddy <raja.sekhar.reddy.gade@linux.intel.com>
Change-Id: I1a431437da97240941390322adc59acb2c5323d1
2 files changed