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:
bb43338
)
Fix "show hardware" CLI display for bonded interface may corrupt heap
85/1985/2
author
John Lo
<loj@cisco.com>
Mon, 18 Jul 2016 16:20:09 +0000
(12:20 -0400)
committer
Chris Luke
<chris_luke@comcast.com>
Mon, 18 Jul 2016 17:03:31 +0000
(17:03 +0000)
Change-Id: Ie379844047b6402884653d3fd682010a1d09d14a
Signed-off-by: John Lo <loj@cisco.com>
vnet/vnet/interface_format.c
patch
|
blob
|
history
diff --git
a/vnet/vnet/interface_format.c
b/vnet/vnet/interface_format.c
index
840e72b
..
319113f
100644
(file)
--- a/
vnet/vnet/interface_format.c
+++ b/
vnet/vnet/interface_format.c
@@
-87,7
+87,7
@@
u8 * format_vnet_hw_interface (u8 * s, va_list * args)
{
int hw_idx;
s = format (s, "Slave-Idx:");
- clib_bitmap_foreach (hw_idx, hi->bond_info, format(s, " %d", hw_idx));
+ clib_bitmap_foreach (hw_idx, hi->bond_info,
s =
format(s, " %d", hw_idx));
}
else if (dev_class->format_device_name)
s = format (s, "%U", dev_class->format_device_name, hi->dev_instance);