aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNeale Ranns <neale.ranns@cisco.com>2017-12-13 00:55:58 -0800
committerNeale Ranns <nranns@cisco.com>2017-12-13 11:57:45 +0000
commit17d2c4f78526cbc9b8b0cb0815371454299ac4f4 (patch)
tree32ccafaa6c28a1175cf6be9812d5956687a4d378
parent284f705322dd3900991d703a02ab0afe592a3b00 (diff)
VOM: a couple of print fixes
Change-Id: I4c22ad08bf8fa3e8f05b8938ff447cafa4eea5b2 Signed-off-by: Neale Ranns <neale.ranns@cisco.com>
-rw-r--r--src/vpp-api/vom/bridge_domain.cpp3
-rw-r--r--src/vpp-api/vom/neighbour.cpp2
2 files changed, 3 insertions, 2 deletions
diff --git a/src/vpp-api/vom/bridge_domain.cpp b/src/vpp-api/vom/bridge_domain.cpp
index 38cc89b8a30..ef737d971bc 100644
--- a/src/vpp-api/vom/bridge_domain.cpp
+++ b/src/vpp-api/vom/bridge_domain.cpp
@@ -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());
}
diff --git a/src/vpp-api/vom/neighbour.cpp b/src/vpp-api/vom/neighbour.cpp
index 35e9c46b8e8..9b53cb2a6bb 100644
--- a/src/vpp-api/vom/neighbour.cpp
+++ b/src/vpp-api/vom/neighbour.cpp
@@ -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());