Code Review
/
vpp.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
| inline |
side by side
Revert "API: Cleanup APIs interface.api"
[vpp.git]
/
extras
/
vom
/
vom
/
interface.cpp
diff --git
a/extras/vom/vom/interface.cpp
b/extras/vom/vom/interface.cpp
index
f2f32b4
..
ec6204f
100644
(file)
--- a/
extras/vom/vom/interface.cpp
+++ b/
extras/vom/vom/interface.cpp
@@
-394,9
+394,7
@@
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);
+ m_l2_address = { addr, rc_t::NOOP };
}
void