summaryrefslogtreecommitdiffstats
path: root/src/vpp-api/vom/rpc_cmd.hpp
diff options
context:
space:
mode:
authorNeale Ranns <neale.ranns@cisco.com>2018-03-20 16:30:51 -0700
committerNeale Ranns <neale.ranns@cisco.com>2018-03-27 09:19:04 -0700
commitf756401ddda1349e024dbf631d5774efb9e7f55a (patch)
treeeb759ef1b6e83d8badc73ae41ac9868783816514 /src/vpp-api/vom/rpc_cmd.hpp
parentd50c987ead437610dfaecddd15d34461a9ff2ec2 (diff)
VOM: Fix connection state
Change-Id: I4851b2245f81bcf3cf5f40909c4d158a51af7068 Signed-off-by: Neale Ranns <neale.ranns@cisco.com>
Diffstat (limited to 'src/vpp-api/vom/rpc_cmd.hpp')
-rw-r--r--src/vpp-api/vom/rpc_cmd.hpp6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/vpp-api/vom/rpc_cmd.hpp b/src/vpp-api/vom/rpc_cmd.hpp
index bd78978a3cf..84b6717c53b 100644
--- a/src/vpp-api/vom/rpc_cmd.hpp
+++ b/src/vpp-api/vom/rpc_cmd.hpp
@@ -105,7 +105,11 @@ public:
* Called by the HW Command Q when it is disabled to indicate the
* command can be considered successful without issuing it to HW
*/
- virtual void succeeded() { m_hw_item.set(rc_t::OK); }
+ virtual void succeeded()
+ {
+ m_hw_item.set(rc_t::OK);
+ VOM_LOG(log_level_t::DEBUG) << to_string();
+ }
/**
* call operator used as a callback by VAPI when the reply is available