diff options
Diffstat (limited to 'src/vpp-api/vom/interface_cmds.cpp')
-rw-r--r-- | src/vpp-api/vom/interface_cmds.cpp | 12 |
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() { |