X-Git-Url: https://gerrit.fd.io/r/gitweb?p=vpp.git;a=blobdiff_plain;f=extras%2Fvom%2Fvom%2Ftap_interface.hpp;h=a29ad358b52e979471f67f8865bea22c99b2fe20;hp=3b0072d4a7da4735d61a8a36530092707f090be3;hb=8e1cc46b2bba1ade546d611cdf7b6e48c97d90a1;hpb=b6a47953973f7c94239c394b649100e91bdb2152 diff --git a/extras/vom/vom/tap_interface.hpp b/extras/vom/vom/tap_interface.hpp index 3b0072d4a7d..a29ad358b52 100644 --- a/extras/vom/vom/tap_interface.hpp +++ b/extras/vom/vom/tap_interface.hpp @@ -26,14 +26,12 @@ class tap_interface : public interface { public: tap_interface(const std::string& name, - type_t type, - admin_state_t state, - route::prefix_t prefix); + const admin_state_t& state, + const route::prefix_t& prefix); tap_interface(const std::string& name, - type_t type, - admin_state_t state, - route::prefix_t prefix, + const admin_state_t& state, + const route::prefix_t& prefix, const l2_address_t& l2_address); ~tap_interface(); @@ -86,11 +84,6 @@ private: */ l2_address_t m_l2_address; - /** - * interface is a friend so it can construct with handles - */ - friend class interface; - /** * Return the matching 'instance' of the sub-interface * over-ride from the base class