summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorVernon Mauery <vernon.mauery@linux.intel.com>2019-03-25 14:05:05 -0700
committerVernon Mauery <vernon.mauery@linux.intel.com>2019-04-05 10:00:35 -0700
commit6c90b04bc5ec1c7e868eab00da7e9774626751b2 (patch)
tree868579cd487af65bcf2924b3a8d043eef33a3402
parentcc99ba438270450ab109c75fb2af92da3b32066d (diff)
downloadphosphor-host-ipmid-6c90b04bc5ec1c7e868eab00da7e9774626751b2.zip
phosphor-host-ipmid-6c90b04bc5ec1c7e868eab00da7e9774626751b2.tar.gz
remove app wildcard handler
Tested-by: ipmitool raw 6 0x88 -> returns c1 Change-Id: I1f22a70d135ed0ab39c6b1fbacf41e8d5ff20b65 Signed-off-by: Vernon Mauery <vernon.mauery@linux.intel.com>
-rw-r--r--apphandler.cpp21
1 files changed, 0 insertions, 21 deletions
diff --git a/apphandler.cpp b/apphandler.cpp
index fad727b..1169e07 100644
--- a/apphandler.cpp
+++ b/apphandler.cpp
@@ -784,23 +784,6 @@ auto ipmiAppGetBtCapabilities()
outputBufferSize, transactionTime, nrRetries);
}
-ipmi_ret_t ipmi_app_wildcard_handler(ipmi_netfn_t netfn, ipmi_cmd_t cmd,
- ipmi_request_t request,
- ipmi_response_t response,
- ipmi_data_len_t data_len,
- ipmi_context_t context)
-{
- // Status code.
- ipmi_ret_t rc = IPMI_CC_INVALID;
-
- *data_len = strlen("THIS IS WILDCARD");
-
- // Now pack actual response
- std::memcpy(response, "THIS IS WILDCARD", *data_len);
-
- return rc;
-}
-
ipmi_ret_t ipmi_app_get_sys_guid(ipmi_netfn_t netfn, ipmi_cmd_t cmd,
ipmi_request_t request,
ipmi_response_t response,
@@ -1053,10 +1036,6 @@ void register_netfn_app_functions()
ipmi::app::cmdGetBtIfaceCapabilities,
ipmi::Privilege::User, ipmiAppGetBtCapabilities);
- // <Wildcard Command>
- ipmi_register_callback(NETFUN_APP, IPMI_CMD_WILDCARD, NULL,
- ipmi_app_wildcard_handler, PRIVILEGE_USER);
-
// <Reset Watchdog Timer>
ipmi_register_callback(NETFUN_APP, IPMI_CMD_RESET_WD, NULL,
ipmi_app_watchdog_reset, PRIVILEGE_OPERATOR);
OpenPOWER on IntegriCloud