]> git.ipfire.org Git - thirdparty/lldpd.git/commit
interfaces: handle correctly operation conversation of a port
authorVincent Bernat <vincent@bernat.im>
Sun, 13 Mar 2016 16:54:07 +0000 (17:54 +0100)
committerVincent Bernat <vincent@bernat.im>
Sun, 13 Mar 2016 16:54:07 +0000 (17:54 +0100)
commit32945d6a96ec2fc4eec82cc5702adbb7dfbf75d4
tree7e07698aa3d1fbde77668d3fdd34b9f9d80dfcc5
parent0da01fd667f0e09a2871758e359fed79410d3566
interfaces: handle correctly operation conversation of a port

When a port was regular and become an enslaved member of a bond, we
created a different port. Since we now keep the old ports around, the
old port may still attract a lot of things, like specific configuration
or VLAN. Therefore, we handle the conversion of a port from one kind to
another.

Another idea would be to not do special handling for bonds. Only old
kernels need that. We could remove that later.
src/daemon/interfaces-linux.c
src/daemon/interfaces.c
src/daemon/lldpd.c
src/daemon/lldpd.h