VOM fixes for 9090 - ships in the night commits
Change-Id: I4b03a4f86a7e0e47874715398ca9f8ff0f5386ee
Signed-off-by: Neale Ranns <neale.ranns@cisco.com>
diff --git a/src/vpp-api/vom/bridge_domain_entry_cmds.cpp b/src/vpp-api/vom/bridge_domain_entry_cmds.cpp
index ad0786f..990af06 100644
--- a/src/vpp-api/vom/bridge_domain_entry_cmds.cpp
+++ b/src/vpp-api/vom/bridge_domain_entry_cmds.cpp
@@ -42,7 +42,7 @@
auto& payload = req.get_request().get_payload();
payload.bd_id = m_bd;
payload.is_add = 1;
- payload.mac = m_mac.to_u64();
+ m_mac.to_bytes(payload.mac, 6);
payload.sw_if_index = m_tx_itf.value();
VAPI_CALL(req.execute());
@@ -85,7 +85,7 @@
auto& payload = req.get_request().get_payload();
payload.bd_id = m_bd;
payload.is_add = 1;
- payload.mac = m_mac.to_u64();
+ m_mac.to_bytes(payload.mac, 6);
payload.sw_if_index = ~0;
VAPI_CALL(req.execute());