diff options
author | Chris Luke <chrisy@flirble.org> | 2017-07-05 12:57:10 -0400 |
---|---|---|
committer | Chris Luke <chris_luke@comcast.com> | 2017-07-05 17:23:41 +0000 |
commit | 7447d07719bb4c9c58501d78aa4a453d6a044863 (patch) | |
tree | b2aa30a1c865b228438a4c0f79870a75d27f92a2 /src/vnet/buffer.h | |
parent | 99a0e60eb6f6acd7eabd5a4cb7ded1e0419ccd54 (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/vnet/buffer.h')
0 files changed, 0 insertions, 0 deletions