summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/vnet/bonding/cli.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/vnet/bonding/cli.c b/src/vnet/bonding/cli.c
index 4ce8672d914..e65f15d1fa7 100644
--- a/src/vnet/bonding/cli.c
+++ b/src/vnet/bonding/cli.c
@@ -582,8 +582,8 @@ bond_enslave (vlib_main_t * vm, bond_enslave_args_t * args)
}
if (bif->mode == BOND_MODE_LACP)
{
- u8 *name = format (0, "/if/lacp/%u/%u/state", bif->sw_if_index,
- args->slave);
+ u8 *name = format (0, "/if/lacp/%u/%u/state%c", bif->sw_if_index,
+ args->slave, 0);
vec_validate (bm->stats, bif->sw_if_index);
vec_validate (bm->stats[bif->sw_if_index], args->slave);