]> git.ipfire.org Git - thirdparty/lldpd.git/commit
daemon: rework a bit systemd support
authorVincent Bernat <vincent@bernat.ch>
Sun, 7 Apr 2024 06:16:26 +0000 (08:16 +0200)
committerVincent Bernat <vincent@bernat.ch>
Sun, 7 Apr 2024 06:28:05 +0000 (08:28 +0200)
commit0800ce57d3e2ce5aa663e672a0c9842d43bacdf6
tree0b2d3e11c70d33ad1d833f116fe776dd94740027
parent5fa11e0230aff58770dbcdd1c02fe3bbdf6230ed
daemon: rework a bit systemd support

Use connect() as done by other implementations, notably the one in
sd_notify(2). Also add a check on socket length.
src/daemon/lldpd.c