Introduce a mac_address_t on the API and in VPP
[vpp.git] / extras / vom / vom / types.cpp
index c6093eb..a67a7f3 100644 (file)
@@ -109,7 +109,7 @@ operator<<(std::ostream& os, const handle_t& h)
   return (os);
 }
 
-mac_address_t::mac_address_t(uint8_t b[6])
+mac_address_t::mac_address_t(const uint8_t b[6])
 {
   std::copy(b, b + 6, std::begin(bytes));
 }