IEEE802.1AB-2005 says:
> If TLV_type_value is in the range of reserved TLV types in Table
> 9-1, the TLV is unrecognized and may be a basic TLV from a later
> LLDP version. The statsTLVsUnrecognizedTotal counter shall be
> incremented, and the TLV shall be assumed to be validated.
Fix #323
log_warnx("lldp", "unknown tlv (%d) received on %s",
tlv_type, hardware->h_ifname);
hardware->h_rx_unrecognized_cnt++;
- goto malformed;
+ break;
}
if (pos > tlv + tlv_size) {
log_warnx("lldp", "BUG: already past TLV!");