VOM: a couple of print fixes 17/9817/2
authorNeale Ranns <neale.ranns@cisco.com>
Wed, 13 Dec 2017 08:55:58 +0000 (00:55 -0800)
committerNeale Ranns <nranns@cisco.com>
Wed, 13 Dec 2017 11:57:45 +0000 (11:57 +0000)
Change-Id: I4c22ad08bf8fa3e8f05b8938ff447cafa4eea5b2
Signed-off-by: Neale Ranns <neale.ranns@cisco.com>
src/vpp-api/vom/bridge_domain.cpp
src/vpp-api/vom/neighbour.cpp

index 38cc89b..ef737d9 100644 (file)
@@ -99,7 +99,8 @@ std::string
 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());
 }
index 35e9c46..9b53cb2 100644 (file)
@@ -81,7 +81,7 @@ std::string
 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());