systemd: lldp: fix starting ttl timer for lldp neighbor
authorThomas Haller <thaller@redhat.com>
Fri, 11 Mar 2016 14:54:07 +0000 (15:54 +0100)
committerThomas Haller <thaller@redhat.com>
Thu, 17 Mar 2016 14:00:48 +0000 (15:00 +0100)
commite94329f0929a46cb84b692af44285bbb856e2b86
treeb97d63dcf83734d0c16e559258fa31f38b77fb4c
parentc75c51d50545a56888aa6c35244fcee5510c5697
systemd: lldp: fix starting ttl timer for lldp neighbor

lldp_start_timer() was only called during sd_lldp_get_neighbors().
Ensure that the timer is (re-)started when a new neighbor appears.
Otherwise, the timer is not started when relying on the events alone.

https://github.com/systemd/systemd/pull/2826
src/systemd/src/libsystemd-network/sd-lldp.c