]> git.ipfire.org Git - thirdparty/lldpd.git/commit
interfaces: use an array of MAC addresses when defining supported protocols fix/multiple-mac-handling
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 10:32:25 +0000 (11:32 +0100)
commit162061ecf94fa3bdccf333d7f156e1c39755a76f
tree426eb9b0f104e3b61d7c0dd7f0c1d9498cf27173
parentf7eae6f879d89d2a223774a253d80b6f0b5c5d01
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