]> git.ipfire.org Git - thirdparty/systemd.git/commit - src/network/networkd-link.c
networkd: rework when LLDP reception is enabled
authorLennart Poettering <lennart@poettering.net>
Sat, 20 Feb 2016 21:35:02 +0000 (22:35 +0100)
committerLennart Poettering <lennart@poettering.net>
Sun, 21 Feb 2016 19:40:57 +0000 (20:40 +0100)
commit273eec24f5ce230a185c75c89d47c562a4bf64fb
treeff7721c92bdd337538cc33fed9e30711523752b2
parent58fb367825b7ce72b466e24c422dd3eb6d5554f4
networkd: rework when LLDP reception is enabled

Being on the link-layer LLDP is nothing we should turn on only when there's a
link beat. Instead, turn it on, whenever the iface is UP regardless if there's
a link beat or not. This closes the race between a link beat being available
and us subscribing to LLDP as a result.
src/network/networkd-link.c