summaryrefslogtreecommitdiffstats
path: root/src/vpp-api/vom/interface_cmds.cpp
diff options
context:
space:
mode:
authorMohsin Kazmi <sykazmi@cisco.com>2018-04-05 14:43:43 +0200
committerDamjan Marion <dmarion.lists@gmail.com>2018-04-12 11:08:07 +0000
commit58c711a196d9b178bfe6190964a7df92145cf949 (patch)
tree8b74a2905be3ee2e452cf4eb3e591616f808c673 /src/vpp-api/vom/interface_cmds.cpp
parent7fe930b73f28bb62c26a4bfbe3871d684c045706 (diff)
vom: Fix the itf stats replay
Change-Id: Iedc6bbaa1c0a1c3c6e1b8ed6d67db28046a551f4 Signed-off-by: Mohsin Kazmi <sykazmi@cisco.com>
Diffstat (limited to 'src/vpp-api/vom/interface_cmds.cpp')
-rw-r--r--src/vpp-api/vom/interface_cmds.cpp12
1 files changed, 12 insertions, 0 deletions
diff --git a/src/vpp-api/vom/interface_cmds.cpp b/src/vpp-api/vom/interface_cmds.cpp
index b1decd2bf7c..49a24c1301b 100644
--- a/src/vpp-api/vom/interface_cmds.cpp
+++ b/src/vpp-api/vom/interface_cmds.cpp
@@ -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()
{