VOM: no assert on interface mac set
Change-Id: I0210b18dc37e1a425c75c95a2fb98c6a48d8ea7a Signed-off-by: Neale Ranns <nranns@cisco.com>
This commit is contained in:

committed by
Damjan Marion

parent
cffbfc52b0
commit
7752cb6f0d
@ -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);
|
||||
}
|
||||
|
||||
|
@ -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);
|
||||
|
||||
|
Reference in New Issue
Block a user