]> git.ipfire.org Git - thirdparty/lldpd.git/commit
lib: stricly-prevent use of a connection used to watch events
authorVincent Bernat <vincent@bernat.ch>
Fri, 24 Apr 2020 17:09:42 +0000 (19:09 +0200)
committerVincent Bernat <vincent@bernat.ch>
Fri, 24 Apr 2020 17:15:13 +0000 (19:15 +0200)
commitcb38337c2b6f28cf56b29ffc2519012b7d342e61
tree2fb87a6e768ebdca99edebad7fbfbe11dfc1c753
parentc0363157dc48a1da273261ecbf24792d9dfe9725
lib: stricly-prevent use of a connection used to watch events

The protocol cannot handle received events mixed with regular
messages. Once the connection is dedicated to a watch, prevent its
regular use.
src/lib/atom.c
src/lib/atom.h
src/lib/connection.c
src/lib/lldpctl.h