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:
1537277
)
cdp: fix non-null terminated vector use
68/22768/2
author
Benoît Ganne
<bganne@cisco.com>
Wed, 16 Oct 2019 12:54:24 +0000
(14:54 +0200)
committer
Damjan Marion
<dmarion@me.com>
Wed, 16 Oct 2019 18:38:02 +0000
(18:38 +0000)
Type: fix
Change-Id: I31e5d9d9e93339eb789aed20996f326b085c22a9
Signed-off-by: Benoît Ganne <bganne@cisco.com>
src/plugins/cdp/cdp_input.c
patch
|
blob
|
history
diff --git
a/src/plugins/cdp/cdp_input.c
b/src/plugins/cdp/cdp_input.c
index
a6da0f6
..
e52361b
100644
(file)
--- a/
src/plugins/cdp/cdp_input.c
+++ b/
src/plugins/cdp/cdp_input.c
@@
-444,7
+444,7
@@
format_cdp_neighbors (u8 * s, va_list * va)
hw = vnet_get_sup_hw_interface (vnm, n->sw_if_index);
if (n->disabled == 0)
- s = format (s, "%=25
s
%=25s %=25s %=10.1f\n",
+ s = format (s, "%=25
v
%=25s %=25s %=10.1f\n",
hw->name, n->device_name, n->port_id,
n->last_heard);
}));