From 0bbe57636732d1eade17c3fe881864d33451cf11 Mon Sep 17 00:00:00 2001 From: Mohsin Kazmi Date: Wed, 21 Mar 2018 15:55:28 +0100 Subject: [PATCH] vom: l2-emulation: Fix sweep function Change-Id: I6fdb9e7b718c696f7352541f90026cf60f11338f Signed-off-by: Mohsin Kazmi --- src/vpp-api/vom/gbp_endpoint_cmds.cpp | 2 +- src/vpp-api/vom/l2_emulation.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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. -- 2.16.6