Commit e9097787 authored by Beniamino Galvani's avatar Beniamino Galvani

lldp: fix parsing of vlan-name attribute

We used to read 3 bytes after the TLV, fix this.

Also, check that string length is at most 32 bytes as specified in
figure E.3 of IEEE 802.1AB-2009.

Fixes: 18133ea1

https://bugzilla.redhat.com/show_bug.cgi?id=1652210
parent 1994f200
Pipeline #9381 passed with stages
in 8 minutes and 3 seconds