diff options
author | Mohsin Kazmi <sykazmi@cisco.com> | 2017-11-20 10:23:47 +0100 |
---|---|---|
committer | Neale Ranns <nranns@cisco.com> | 2017-11-22 11:20:45 +0000 |
commit | 5a4f96a178b693ace8e736c30c949ced5928d824 (patch) | |
tree | 55109d1354c6fc3814282a9b9ba6e52fc19a43df /src/vpp-api/vom/interface_cmds.hpp | |
parent | 4878cbe276ec1131d0cf30ac5df18aa9ba699bc4 (diff) |
VOM: stats: Associate stat obj to interface
Change-Id: Id8b159dd72b92798538a32fe570fb0038d742ef2
Signed-off-by: Mohsin Kazmi <sykazmi@cisco.com>
Diffstat (limited to 'src/vpp-api/vom/interface_cmds.hpp')
-rw-r--r-- | src/vpp-api/vom/interface_cmds.hpp | 9 |
1 files changed, 4 insertions, 5 deletions
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<handle_t>& 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<handle_t> m_swifindex; + handle_t m_swifindex; }; /** |