From: Mohsin Kazmi Date: Wed, 21 Mar 2018 14:55:28 +0000 (+0100) Subject: vom: l2-emulation: Fix sweep function X-Git-Tag: v18.04-rc1~86 X-Git-Url: https://gerrit.fd.io/r/gitweb?a=commitdiff_plain;h=0bbe57636732d1eade17c3fe881864d33451cf11;hp=7b0b9612eebd0cd5c25f1c4e032638b16f1ee39b;p=vpp.git vom: l2-emulation: Fix sweep function Change-Id: I6fdb9e7b718c696f7352541f90026cf60f11338f Signed-off-by: Mohsin Kazmi --- diff --git a/src/vpp-api/vom/gbp_endpoint_cmds.cpp b/src/vpp-api/vom/gbp_endpoint_cmds.cpp index 5a8247a4250..4f85b7eff4e 100644 --- a/src/vpp-api/vom/gbp_endpoint_cmds.cpp +++ b/src/vpp-api/vom/gbp_endpoint_cmds.cpp @@ -103,7 +103,7 @@ std::string delete_cmd::to_string() const { std::ostringstream s; - s << "gbp-endpoint-create: " << m_hw_item.to_string() << " itf:" << m_itf + s << "gbp-endpoint-delete: " << m_hw_item.to_string() << " itf:" << m_itf << " ip:" << m_ip_addr.to_string(); return (s.str()); diff --git a/src/vpp-api/vom/l2_emulation.cpp b/src/vpp-api/vom/l2_emulation.cpp index 75e3bffb2ec..4eedd95e1fc 100644 --- a/src/vpp-api/vom/l2_emulation.cpp +++ b/src/vpp-api/vom/l2_emulation.cpp @@ -62,7 +62,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.