]> git.ipfire.org Git - thirdparty/lldpd.git/commit
Change the way Chassis ID is assigned.
authorVincent Bernat <bernat@luffy.cx>
Tue, 24 Jan 2012 09:59:39 +0000 (10:59 +0100)
committerVincent Bernat <bernat@luffy.cx>
Tue, 24 Jan 2012 10:01:19 +0000 (11:01 +0100)
commitb4ac808343b7b1cece806f2aa6c0bc30a83ac147
tree20dac51599e9e3659b730dc6a8b976f5ddfdca70
parent566c635dd60589e6ac878ca25a99fb6dcf343961
Change the way Chassis ID is assigned.

By default, chassis ID is assigned the chassis name. Once an
appropriate interface is discovered, the chassis ID is changed to the
MAC address of this interface. In most configurations, the chassis ID
is always set to the MAC address of the first interface, like this was
before this patch.
src/interfaces.c
src/lldpd.c
src/lldpd.h