summaryrefslogtreecommitdiffstats
path: root/src/vpp-api/vom/bridge_domain_entry_cmds.cpp
diff options
context:
space:
mode:
authorNeale Ranns <neale.ranns@cisco.com>2017-11-01 03:29:13 -0700
committerNeale Ranns <neale.ranns@cisco.com>2017-11-01 03:29:13 -0700
commitf29e85f9fa888e5544b19db78a752c03337ca14d (patch)
tree0b5ecbe9d79a76fd441479862cb585d3a64e3fbe /src/vpp-api/vom/bridge_domain_entry_cmds.cpp
parent53ae29e0608868be4f6a9cced21c39e72e294d0b (diff)
VOM fixes for 9090 - ships in the night commits
Change-Id: I4b03a4f86a7e0e47874715398ca9f8ff0f5386ee Signed-off-by: Neale Ranns <neale.ranns@cisco.com>
Diffstat (limited to 'src/vpp-api/vom/bridge_domain_entry_cmds.cpp')
-rw-r--r--src/vpp-api/vom/bridge_domain_entry_cmds.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/vpp-api/vom/bridge_domain_entry_cmds.cpp b/src/vpp-api/vom/bridge_domain_entry_cmds.cpp
index ad0786faa01..990af069a90 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 @@ bridge_domain_entry::create_cmd::issue(connection& con)
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 @@ bridge_domain_entry::delete_cmd::issue(connection& con)
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());