diff options
Diffstat (limited to 'extras')
-rw-r--r-- | extras/vom/vom/gbp_bridge_domain.cpp | 5 | ||||
-rw-r--r-- | extras/vom/vom/gbp_bridge_domain_cmds.cpp | 3 |
2 files changed, 5 insertions, 3 deletions
diff --git a/extras/vom/vom/gbp_bridge_domain.cpp b/extras/vom/vom/gbp_bridge_domain.cpp index 78f7d8d270f..c8d42d264a3 100644 --- a/extras/vom/vom/gbp_bridge_domain.cpp +++ b/extras/vom/vom/gbp_bridge_domain.cpp @@ -23,7 +23,7 @@ namespace VOM { const gbp_bridge_domain::flags_t gbp_bridge_domain::flags_t::NONE(0, "none"); const gbp_bridge_domain::flags_t gbp_bridge_domain::flags_t::DO_NOT_LEARN( - 0, + 1, "do-not-learn"); gbp_bridge_domain::flags_t::flags_t(int v, const std::string& s) @@ -200,7 +200,8 @@ std::string gbp_bridge_domain::to_string() const { std::ostringstream s; - s << "gbp-bridge-domain:[" << m_bd->to_string(); + s << "gbp-bridge-domain:[" << m_bd->to_string() + << " flags:" << m_flags.to_string(); if (m_bvi) s << " bvi:" << m_bvi->to_string(); diff --git a/extras/vom/vom/gbp_bridge_domain_cmds.cpp b/extras/vom/vom/gbp_bridge_domain_cmds.cpp index f5a6888b8a7..6fa8c49f9e5 100644 --- a/extras/vom/vom/gbp_bridge_domain_cmds.cpp +++ b/extras/vom/vom/gbp_bridge_domain_cmds.cpp @@ -65,7 +65,8 @@ create_cmd::to_string() const { std::ostringstream s; s << "gbp-bridge-domain: " << m_hw_item.to_string() - << " bvi:" << m_bvi.to_string() << " uu-fwd:" << m_uu_fwd.to_string(); + << " flags:" << m_flags.to_string() << " bvi:" << m_bvi.to_string() + << " uu-fwd:" << m_uu_fwd.to_string(); return (s.str()); } |