From: Neale Ranns Date: Fri, 29 Mar 2019 11:37:59 +0000 (+0000) Subject: BVI: coverity error fix X-Git-Tag: v19.04-rc1~92 X-Git-Url: https://gerrit.fd.io/r/gitweb?a=commitdiff_plain;h=refs%2Fchanges%2F89%2F18589%2F2;p=vpp.git BVI: coverity error fix Change-Id: Idc1e1747035638777240b7ea9afcf675b22be7f1 Signed-off-by: Neale Ranns --- 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,