aboutsummaryrefslogtreecommitdiffstats
path: root/src/vnet
diff options
context:
space:
mode:
Diffstat (limited to 'src/vnet')
-rw-r--r--src/vnet/l2/l2_fib.c2
-rw-r--r--src/vnet/l2/l2_test.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/vnet/l2/l2_fib.c b/src/vnet/l2/l2_fib.c
index d1ee82273b1..d9d6710fd15 100644
--- a/src/vnet/l2/l2_fib.c
+++ b/src/vnet/l2/l2_fib.c
@@ -606,7 +606,7 @@ static clib_error_t *
l2fib_test_command_fn (vlib_main_t * vm,
unformat_input_t * input, vlib_cli_command_t * cmd)
{
- u8 mac[6], save_mac[6];
+ u8 mac[8], save_mac[6];
u32 bd_index = 0;
u32 sw_if_index = 8;
u32 is_add = 0;
diff --git a/src/vnet/l2/l2_test.c b/src/vnet/l2/l2_test.c
index ba8802da1b6..c7cd1d255c1 100644
--- a/src/vnet/l2/l2_test.c
+++ b/src/vnet/l2/l2_test.c
@@ -188,7 +188,7 @@ api_l2fib_add_del (vat_main_t *vam)
unformat_input_t *i = vam->input;
vl_api_l2fib_add_del_t *mp;
f64 timeout;
- u8 mac[6] = { 0 };
+ u8 mac[8] = { 0 };
u8 mac_set = 0;
u32 bd_id;
u8 bd_id_set = 0;