summaryrefslogtreecommitdiff
path: root/src/libsystemd-network/dhcp-lease-internal.h
diff options
context:
space:
mode:
authorMatthijs van Duin <matthijsvanduin@gmail.com>2022-05-04 15:18:55 +0200
committerYu Watanabe <watanabe.yu+github@gmail.com>2022-05-05 01:19:02 +0900
commitb0221bb6a468e84841ad366ff39dcc4de97dc5db (patch)
treecf21c6c7f9d7686e2e14b7200caa265a2c692cd3 /src/libsystemd-network/dhcp-lease-internal.h
parenta2e37d52312806b1847800df2358e61276cda052 (diff)
downloadsystemd-b0221bb6a468e84841ad366ff39dcc4de97dc5db.tar.gz
Fix placement of TTL TLV in LLDP transmit
The LLDP spec (IEEE 802.1AB) requires the three mandatory TLVs (Chassis ID, Port ID, and TTL) to be the first three TLVs in the packet, in that specific order, whereas systemd put the TTL near the end of the packet. This violation caused the ethernet switch in our office to discard these packets as malformed, and Wireshark's packet parser also chokes on them.
Diffstat (limited to 'src/libsystemd-network/dhcp-lease-internal.h')
0 files changed, 0 insertions, 0 deletions