summaryrefslogtreecommitdiffstats
path: root/src/vnet
diff options
context:
space:
mode:
Diffstat (limited to 'src/vnet')
-rw-r--r--src/vnet/l2/l2_bvi.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/vnet/l2/l2_bvi.c b/src/vnet/l2/l2_bvi.c
index 87738fc7820..ec82d7d9df7 100644
--- a/src/vnet/l2/l2_bvi.c
+++ b/src/vnet/l2/l2_bvi.c
@@ -166,7 +166,7 @@ l2_bvi_create (u32 user_instance,
*/
if (mac_address_is_zero (mac_in))
{
- u8 bytes[] = {
+ u8 bytes[6] = {
[0] = 0xb0,
[1] = 0xb0,
[5] = instance,