aboutsummaryrefslogtreecommitdiffstats
path: root/src/vnet/l2
diff options
context:
space:
mode:
authorNeale Ranns <nranns@cisco.com>2019-03-29 11:37:59 +0000
committerPaul Vinciguerra <pvinci@vinciconsulting.com>2019-03-29 13:53:12 +0000
commitd2a4194dc7711827ffa001e2e84c1fb391040de9 (patch)
tree848929bc6e617ecf44171d984509d228cd92cdc6 /src/vnet/l2
parentefd0d29353532af7a421075b143b3f390f0c1a84 (diff)
BVI: coverity error fix
Change-Id: Idc1e1747035638777240b7ea9afcf675b22be7f1 Signed-off-by: Neale Ranns <nranns@cisco.com>
Diffstat (limited to 'src/vnet/l2')
-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,