lldp: fix format string for hw->name 38/29038/2
authorVladimir Isaev <visaev@netgate.com>
Wed, 23 Sep 2020 11:39:17 +0000 (14:39 +0300)
committerMatthew Smith <mgsmith@netgate.com>
Wed, 23 Sep 2020 13:31:05 +0000 (13:31 +0000)
commite85aa4c46aab9ddd0824c455b3d18460e5213f79
tree06a168c4bab82bebc5885a8a1493a6c1903e29c2
parentd63f73b8393b086d21a5197d1e02fac243867a93
lldp: fix format string for hw->name

Sanitizer found it. hw->name is not null terminated vector.
So use '%v' for it.

Type: fix
Signed-off-by: Vladimir Isaev <visaev@netgate.com>
Change-Id: Idea16b33d33b371f5b6f6ab403edd0b4860c95f2
src/plugins/lldp/lldp_cli.c