aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorMohsin Kazmi <sykazmi@cisco.com>2018-03-21 15:55:28 +0100
committerNeale Ranns <nranns@cisco.com>2018-03-22 13:57:17 +0000
commit0bbe57636732d1eade17c3fe881864d33451cf11 (patch)
tree23636d66f06f8032f1a5ad6ad04b7ca0c5374948 /src
parent7b0b9612eebd0cd5c25f1c4e032638b16f1ee39b (diff)
vom: l2-emulation: Fix sweep function
Change-Id: I6fdb9e7b718c696f7352541f90026cf60f11338f Signed-off-by: Mohsin Kazmi <sykazmi@cisco.com>
Diffstat (limited to 'src')
-rw-r--r--src/vpp-api/vom/gbp_endpoint_cmds.cpp2
-rw-r--r--src/vpp-api/vom/l2_emulation.cpp2
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.