diff options
author | Steven <sluong@cisco.com> | 2018-09-20 11:50:35 -0700 |
---|---|---|
committer | Damjan Marion <dmarion@me.com> | 2018-09-20 23:08:02 +0000 |
commit | 877ad144b67573d7d102268958ebedbb318b738c (patch) | |
tree | c85ca42ad82286e8b0c3f455c744c866c215e6cb /src/vppinfra/test_longjmp.c | |
parent | df32bc4dee0cfe514a8fca5085ea555211521387 (diff) |
vhost: show vhost may display garbage after the interface name
DBGvpp# show vhost-user
Virtio vhost-user interfaces
Global:
coalesce frames 32 time 1e-3
number of rx virtqueues in interrupt mode: 0
Interface: VirtualEthernet0/0/0�?x�D (ifindex 3)
The fix is to use format_vnet_hw_if_index_name rather than hi->name. The former
format the name with %v rather than %s
Change-Id: If4d275e1eb249cf87b2d6b796b42f24769f9e3e3
Signed-off-by: Steven <sluong@cisco.com>
Diffstat (limited to 'src/vppinfra/test_longjmp.c')
0 files changed, 0 insertions, 0 deletions