aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorNeale Ranns <nranns@cisco.com>2018-09-05 08:56:29 -0400
committerNeale Ranns <nranns@cisco.com>2018-09-05 08:56:29 -0400
commit3f812aaf63c622bada7eae45e5b1cb14e89ba7ea (patch)
tree7b4f7ead74345d6e7cd0aa7a47eaf62cbf9c3b3e /src
parent3328e9011463855b5b2d52b849cff3114d264b68 (diff)
Add missing API MAC address encode implementation
Change-Id: I4cb073f23a7f24f0fc16f2eda8b869dbe657f71b Signed-off-by: Neale Ranns <nranns@cisco.com>
Diffstat (limited to 'src')
-rw-r--r--src/vnet/ethernet/ethernet_types_api.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/vnet/ethernet/ethernet_types_api.c b/src/vnet/ethernet/ethernet_types_api.c
index 513b86e3b66..9b2e99a6371 100644
--- a/src/vnet/ethernet/ethernet_types_api.c
+++ b/src/vnet/ethernet/ethernet_types_api.c
@@ -38,6 +38,7 @@ mac_address_decode (const vl_api_mac_address_t * in, mac_address_t * out)
void
mac_address_encode (const mac_address_t * in, vl_api_mac_address_t * out)
{
+ clib_memcpy (out->bytes, in->bytes, 6);
}
extern u8 *