watchdog: Implements the Watchdog Get Command
Change-Id: I2ba9fd0eeba4e828cafd1bcf6fe30e2322eaf99e
Signed-off-by: William A. Kennington III <wak@google.com>
diff --git a/apphandler.cpp b/apphandler.cpp
index 47a165b..c452634 100644
--- a/apphandler.cpp
+++ b/apphandler.cpp
@@ -546,6 +546,13 @@
ipmi_app_watchdog_set,
PRIVILEGE_OPERATOR);
+ // <Get Watchdog Timer>
+ ipmi_register_callback(NETFUN_APP,
+ IPMI_CMD_GET_WD,
+ NULL,
+ ipmi_app_watchdog_get,
+ PRIVILEGE_OPERATOR);
+
// <Get Device ID>
printf("Registering NetFn:[0x%X], Cmd:[0x%X]\n",
NETFUN_APP,