X-Git-Url: https://gerrit.fd.io/r/gitweb?a=blobdiff_plain;f=src%2Fvpp-api%2Fvom%2Fl2_emulation.cpp;h=7bc7ed657d4aee596ac0337f40b528e6efe9f038;hb=756cd9441752fc8f84104c9ee19099506ba89f85;hp=75e3bffb2ec8202216b5bf27fb0519b75869f9c2;hpb=bc27d1be24815e1371dcce3bff2d3075a532acba;p=vpp.git diff --git a/src/vpp-api/vom/l2_emulation.cpp b/src/vpp-api/vom/l2_emulation.cpp index 75e3bffb2ec..7bc7ed657d4 100644 --- a/src/vpp-api/vom/l2_emulation.cpp +++ b/src/vpp-api/vom/l2_emulation.cpp @@ -15,6 +15,7 @@ #include "vom/l2_emulation.hpp" #include "vom/l2_emulation_cmds.hpp" +#include "vom/singular_db_funcs.hpp" namespace VOM { /** @@ -62,7 +63,7 @@ l2_emulation::sweep() { if (m_emulation && handle_t::INVALID != m_itf->handle()) { HW::enqueue( - new l2_emulation_cmds::enable_cmd(m_emulation, m_itf->handle())); + new l2_emulation_cmds::disable_cmd(m_emulation, m_itf->handle())); } // no need to undo the VTR operation. @@ -122,7 +123,7 @@ l2_emulation::singular() const void l2_emulation::dump(std::ostream& os) { - m_db.dump(os); + db_dump(m_db, os); } l2_emulation::event_handler::event_handler() @@ -154,7 +155,7 @@ l2_emulation::event_handler::order() const void l2_emulation::event_handler::show(std::ostream& os) { - m_db.dump(os); + db_dump(m_db, os); } }