From 7752cb6f0d2e05eb2d38238cf51c2647afd4915e Mon Sep 17 00:00:00 2001 From: Neale Ranns Date: Tue, 19 Feb 2019 01:41:59 -0800 Subject: VOM: no assert on interface mac set Change-Id: I0210b18dc37e1a425c75c95a2fb98c6a48d8ea7a Signed-off-by: Neale Ranns --- extras/vom/vom/interface.cpp | 2 -- extras/vom/vom/interface.hpp | 3 +++ 2 files changed, 3 insertions(+), 2 deletions(-) (limited to 'extras') 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); -- cgit 1.2.3-korg