Code Review
/
vpp.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
review
|
tree
raw
|
patch
| inline |
side by side
(parent:
b15d796
)
bonding: fix non-null terminated vector
86/23286/3
author
Benoît Ganne
<bganne@cisco.com>
Wed, 6 Nov 2019 13:36:38 +0000
(14:36 +0100)
committer
Neale Ranns
<nranns@cisco.com>
Tue, 12 Nov 2019 16:57:52 +0000
(16:57 +0000)
Type: fix
Change-Id: Iea7d73a304236b525b95bdad3bfdb41e711f8cdb
Signed-off-by: Benoît Ganne <bganne@cisco.com>
src/vnet/bonding/cli.c
patch
|
blob
|
history
diff --git
a/src/vnet/bonding/cli.c
b/src/vnet/bonding/cli.c
index
ba48175
..
7e29d1d
100644
(file)
--- a/
src/vnet/bonding/cli.c
+++ b/
src/vnet/bonding/cli.c
@@
-592,8
+592,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);