vom: Fix the itf stats replay
[vpp.git] / src / vpp-api / vom / interface_cmds.cpp
index b1decd2..49a24c1 100644 (file)
@@ -582,6 +582,18 @@ stats_enable_cmd::retire(connection& con)
   wait();
 }
 
+interface::stat_listener&
+stats_enable_cmd::listener() const
+{
+  return m_listener;
+}
+
+void
+stats_enable_cmd::set(const rc_t& rc)
+{
+  m_listener.status().set(rc);
+}
+
 void
 stats_enable_cmd::notify()
 {