]> git.ipfire.org Git - thirdparty/lldpd.git/commit
client: make a connection before parsing inputs
authorVincent Bernat <vincent@bernat.ch>
Thu, 11 Aug 2022 16:24:39 +0000 (18:24 +0200)
committerVincent Bernat <vincent@bernat.ch>
Thu, 11 Aug 2022 16:24:39 +0000 (18:24 +0200)
commit2541f5c057122788041c59366b9a89c7e2566186
treeedd977b898722f504662dba9caae0d28b495dff8
parent548719bfa36cd32b179db36136d0e3f4b4664007
client: make a connection before parsing inputs

This shows a clear error message if the socket does not exist and when
using privileged commands.

Fix #535.
src/client/lldpcli.c