VOM: a couple of print fixes
Change-Id: I4c22ad08bf8fa3e8f05b8938ff447cafa4eea5b2
Signed-off-by: Neale Ranns <neale.ranns@cisco.com>
diff --git a/src/vpp-api/vom/bridge_domain.cpp b/src/vpp-api/vom/bridge_domain.cpp
index 38cc89b..ef737d9 100644
--- a/src/vpp-api/vom/bridge_domain.cpp
+++ b/src/vpp-api/vom/bridge_domain.cpp
@@ -99,7 +99,8 @@
bridge_domain::to_string() const
{
std::ostringstream s;
- s << "bridge-domain:[" << m_id.to_string() << "]";
+ s << "bridge-domain:[" << m_id.to_string()
+ << " learning-mode:" << m_learning_mode.to_string() << "]";
return (s.str());
}
diff --git a/src/vpp-api/vom/neighbour.cpp b/src/vpp-api/vom/neighbour.cpp
index 35e9c46..9b53cb2 100644
--- a/src/vpp-api/vom/neighbour.cpp
+++ b/src/vpp-api/vom/neighbour.cpp
@@ -81,7 +81,7 @@
neighbour::to_string() const
{
std::ostringstream s;
- s << "arp-entry:[" << m_itf->to_string() << ", " << m_mac.to_string() << ", "
+ s << "neighbour:[" << m_itf->to_string() << ", " << m_mac.to_string() << ", "
<< m_ip_addr.to_string() << "]";
return (s.str());