From 5a4f96a178b693ace8e736c30c949ced5928d824 Mon Sep 17 00:00:00 2001 From: Mohsin Kazmi Date: Mon, 20 Nov 2017 10:23:47 +0100 Subject: VOM: stats: Associate stat obj to interface Change-Id: Id8b159dd72b92798538a32fe570fb0038d742ef2 Signed-off-by: Mohsin Kazmi --- src/vpp-api/vom/interface_cmds.hpp | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) (limited to 'src/vpp-api/vom/interface_cmds.hpp') diff --git a/src/vpp-api/vom/interface_cmds.hpp b/src/vpp-api/vom/interface_cmds.hpp index 4178be38e04..c86df92a4aa 100644 --- a/src/vpp-api/vom/interface_cmds.hpp +++ b/src/vpp-api/vom/interface_cmds.hpp @@ -364,7 +364,7 @@ private: /** * The listeners to notify when data/events arrive */ - interface::interface::event_listener& m_listener; + interface::event_listener& m_listener; }; /** @@ -377,8 +377,7 @@ public: /** * Constructor taking the listner to notify */ - stats_cmd(interface::stat_listener& el, - const std::vector& interfaces); + stats_cmd(interface::stat_listener& el, const handle_t& handle); /** * Issue the command to VPP/HW @@ -409,9 +408,9 @@ private: /** * The listeners to notify when data/stats arrive */ - interface::interface::stat_listener& m_listener; + interface::stat_listener& m_listener; - std::vector m_swifindex; + handle_t m_swifindex; }; /** -- cgit 1.2.3-korg