diff options
author | ssekar <suryakanth.sekar@intel.com> | 2018-08-16 17:31:43 +0530 |
---|---|---|
committer | Richard Marian Thomaiyar <richard.marian.thomaiyar@linux.intel.com> | 2018-11-20 09:59:54 +0530 |
commit | b849110d32da5ca61f165abf553eac5b383d4f69 (patch) | |
tree | a16db86e2f7c2f55d120ca083b2a39ae90bbaef8 /ipmid.cpp | |
parent | 18d772634afe5656ea10263466afe770bfb339b6 (diff) | |
download | phosphor-host-ipmid-b849110d32da5ca61f165abf553eac5b383d4f69.tar.gz phosphor-host-ipmid-b849110d32da5ca61f165abf553eac5b383d4f69.zip |
Add kcs selfchannel support & define for LAN too
Define sudo API's for returning channel
index for self channel. At moment, This API
returns KCS for host-ipmi
Change-Id: Icefd5d949e94d4399adaffdad102ccb18c1b7cdc
Signed-off-by: ssekar <suryakanth.sekar@intel.com>
Signed-off-by: Richard Marian Thomaiyar <richard.marian.thomaiyar@linux.intel.com>
Diffstat (limited to 'ipmid.cpp')
-rw-r--r-- | ipmid.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -576,6 +576,11 @@ sd_bus_slot* ipmid_get_sd_bus_slot(void) return ipmid_slot; } +EInterfaceIndex getInterfaceIndex(void) +{ + return interfaceKCS; +} + // Calls host command manager to do the right thing for the command void ipmid_send_cmd_to_host(CommandHandler&& cmd) { |