1
1
mirror of https://github.com/systemd/systemd-stable.git synced 2024-10-28 11:55:23 +03:00

add note that explains relaxed bytes-left check #6150

This commit is contained in:
hecke 2017-06-23 08:55:01 +02:00
parent bc652b81f6
commit 8c7c7100b5

View File

@ -250,6 +250,9 @@ int lldp_neighbor_parse(sd_lldp_neighbor *n) {
return -EBADMSG;
}
/* Note that after processing the SD_LLDP_TYPE_END left could still be > 0
* as the message may contain padding (see IEEE 802.1AB-2016, sec. 8.5.12) */
goto end_marker;
case SD_LLDP_TYPE_CHASSIS_ID: