X-Git-Url: https://gerrit.fd.io/r/gitweb?a=blobdiff_plain;f=src%2Fvnet%2Fethernet%2Fethernet_types_api.c;h=9b2e99a6371e3c3d95b1dab12bc2b8114f78e298;hb=3f812aaf63c622bada7eae45e5b1cb14e89ba7ea;hp=513b86e3b6699c7befd3afefd11d364c51f83631;hpb=3328e9011463855b5b2d52b849cff3114d264b68;p=vpp.git 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 *