]> git.ipfire.org Git - thirdparty/lldpd.git/commit
lldp: when receiving a shutdown LLDPU, don't clear chassis information
authorVincent Bernat <vincent@bernat.ch>
Tue, 8 Oct 2019 17:35:41 +0000 (19:35 +0200)
committerVincent Bernat <vincent@bernat.ch>
Tue, 8 Oct 2019 18:35:48 +0000 (20:35 +0200)
commita9fe956f3e077d63a3e63855882dfd8a199871bb
tree94df1e5b1a906cb02219213000eba8bd39536688
parent3aeae72b97716fddac290634fad02b952d981f17
lldp: when receiving a shutdown LLDPU, don't clear chassis information

The chassis may be shared with another port. When the MSAP is known
and we receive a shutdown LLDPDU, just leave the original chassis as
is instead of copying information from the new chassis to the old
chassis.

Fix #348.
NEWS
src/daemon/lldpd.c
tests/integration/requirements.txt
tests/integration/test_basic.py