]> git.ipfire.org Git - thirdparty/lldpd.git/commit
lldpd: don't rely on a checksum to detect a port change
authorVincent Bernat <vincent@bernat.im>
Sat, 6 Dec 2014 23:05:53 +0000 (00:05 +0100)
committerVincent Bernat <vincent@bernat.im>
Sat, 6 Dec 2014 23:05:53 +0000 (00:05 +0100)
commit17d341157926e8cc2287d3587f4836fb1b28d6a4
tree520098f04f17df1c93282d9801b5679de95e7d58
parent28414fbdbefb6cd7a4830364f2f20fad297c36ed
lldpd: don't rely on a checksum to detect a port change

Instead, just compare the serialized copies. This is more reliable than
a checksum and also (a bit) faster.
src/daemon/lldpd.c
src/lldpd-structs.h