diff options
author | Chris Luke <chrisy@flirble.org> | 2017-07-05 12:57:10 -0400 |
---|---|---|
committer | Chris Luke <chrisy@flirble.org> | 2017-07-05 13:15:03 -0400 |
commit | 6c645ed01cb9f4ac02b6420841c217b49045ce13 (patch) | |
tree | d2f0ffb251ca49c8e0c5c8a0dbac67569648c29f /src/scripts | |
parent | 01d2b4b13ad719934e1e6999f9ed6c7c36a815ff (diff) |
Buffer name inconsistently used a cstring/vec (VPP-901)
Spotted in the output of CLI command "show buffers", the name field
sometimes had trailing garbage, the hall sign of a string not being
terminated. In this case it was being inconsistently used as a cstring
or a vec.
- CLI printf needs %v to print the vec srring
- vlib_buffer_create_free_list_helper tried to use
clib_mem_is_heap_object() to detect a vec object, wheras it should
use clib_mem_is_vec()
Change-Id: Ib8b242a0c5a18924b8af7e8e1432784eebcf572c
Signed-off-by: Chris Luke <chrisy@flirble.org>
Diffstat (limited to 'src/scripts')
0 files changed, 0 insertions, 0 deletions