diff options
-rw-r--r-- | extras/vom/vom/interface.cpp | 2 | ||||
-rw-r--r-- | extras/vom/vom/interface.hpp | 3 |
2 files changed, 3 insertions, 2 deletions
diff --git a/extras/vom/vom/interface.cpp b/extras/vom/vom/interface.cpp index f2f32b43a88..a94be683424 100644 --- a/extras/vom/vom/interface.cpp +++ b/extras/vom/vom/interface.cpp @@ -394,8 +394,6 @@ interface::set(const admin_state_t& state) void interface::set(const l2_address_t& addr) { - assert(rc_t::UNSET == m_l2_address.rc()); - m_l2_address.set(rc_t::NOOP); m_l2_address.update(addr); } diff --git a/extras/vom/vom/interface.hpp b/extras/vom/vom/interface.hpp index 05642f0cdf7..0b2d9071e8f 100644 --- a/extras/vom/vom/interface.hpp +++ b/extras/vom/vom/interface.hpp @@ -266,6 +266,9 @@ public: /** * Set the admin state of the interface + * + * N.B. All set function change only the attibute of the object on whcih + * they act, they do not make changes in VPP */ void set(const admin_state_t& state); |