accept LLDP messages containing padding
This commit is contained in:
@@ -249,10 +249,6 @@ int lldp_neighbor_parse(sd_lldp_neighbor *n) {
|
||||
log_lldp("End marker TLV not zero-sized, ignoring datagram.");
|
||||
return -EBADMSG;
|
||||
}
|
||||
if (left != 0) {
|
||||
log_lldp("Trailing garbage in datagram, ignoring datagram.");
|
||||
return -EBADMSG;
|
||||
}
|
||||
|
||||
goto end_marker;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user