summaryrefslogtreecommitdiffstats
path: root/extras/vom/vom/gbp_contract_cmds.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'extras/vom/vom/gbp_contract_cmds.cpp')
-rw-r--r--extras/vom/vom/gbp_contract_cmds.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/extras/vom/vom/gbp_contract_cmds.cpp b/extras/vom/vom/gbp_contract_cmds.cpp
index 7c42fc6bc4e..5cdd885f304 100644
--- a/extras/vom/vom/gbp_contract_cmds.cpp
+++ b/extras/vom/vom/gbp_contract_cmds.cpp
@@ -114,6 +114,10 @@ create_cmd::to_string() const
s << "gbp-contract-create: " << m_hw_item.to_string()
<< " src-epg-id:" << m_src_epg_id << " dst-epg-id:" << m_dst_epg_id
<< " acl:" << m_acl;
+ s << "[ethertype:";
+ for (auto e : m_allowed_ethertypes)
+ s << " " << e;
+ s << "]";
return (s.str());
}