]> git.ipfire.org Git - thirdparty/lldpd.git/commit
interfaces: use an array of MAC addresses when defining supported protocols
authorVincent Bernat <vincent@bernat.ch>
Sun, 21 Mar 2021 10:32:25 +0000 (11:32 +0100)
committerVincent Bernat <vincent@bernat.ch>
Sun, 21 Mar 2021 11:18:21 +0000 (12:18 +0100)
commitc2e8c8c7c03d674231eb427b7857c8ed86d85311
tree0bd54de080e94d5de9ae1b00f4d9fe5349701c4b
parentd8d0078ef38da4791023f56b469b906f9602d656
interfaces: use an array of MAC addresses when defining supported protocols

In interfaces.c, we were handling it as a table while in lldpd.c, we
were copy-pasting the same condition three times. This was confusing
for analysis tools.
src/daemon/interfaces.c
src/daemon/lldpd.c
src/daemon/lldpd.h