misc: (cdp) fix non-null terminated vector use

Type: fix

Change-Id: I31e5d9d9e93339eb789aed20996f326b085c22a9
Signed-off-by: Benoît Ganne <bganne@cisco.com>
(cherry picked from commit 94e4dea15a)
This commit is contained in:
Benoît Ganne
2019-10-16 14:54:24 +02:00
committed by Andrew Yourtchenko
parent de6453aa63
commit f5f41e5f13

View File

@ -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, "%=25s %=25s %=25s %=10.1f\n",
s = format (s, "%=25v %=25s %=25s %=10.1f\n",
hw->name, n->device_name, n->port_id,
n->last_heard);
}));