]> git.ipfire.org Git - thirdparty/systemd.git/commit - src/network/networkd-link.c
sd-lldp: beef up callback logic
authorLennart Poettering <lennart@poettering.net>
Sun, 21 Feb 2016 19:38:39 +0000 (20:38 +0100)
committerLennart Poettering <lennart@poettering.net>
Sun, 21 Feb 2016 19:58:59 +0000 (20:58 +0100)
commit90dffb2241fa03011b625c26943f36f525e6c323
tree381faded6de261589be452e341eec17a4389c0d6
parentd08191a242d51f72e75d41f188b14e67dd8851c4
sd-lldp: beef up callback logic

Instead of just notifying about the fact that something changed in the
database, actually inform the callback what precisely changed. This is useful,
so that the LLDP tx logic can be put into "fast" mode as soon as a previously
unknown peer appears, as suggested by the LLDP spec.
src/libsystemd-network/sd-lldp.c
src/libsystemd-network/test-lldp.c
src/network/networkd-link.c
src/systemd/sd-lldp.h