]> git.ipfire.org Git - thirdparty/lldpd.git/commit - src/daemon/interfaces-linux.c
linux: fix a regression in how enslaved devices' MAC addresses are retrieved
authorVincent Bernat <bernat@luffy.cx>
Sun, 15 Sep 2013 09:29:46 +0000 (11:29 +0200)
committerVincent Bernat <bernat@luffy.cx>
Sun, 15 Sep 2013 09:29:46 +0000 (11:29 +0200)
commit12baf7811f638f45ec0be61df08734f40c2f2634
tree91a07dc6b7424a95051b7de147f1af3d951e0eb5
parentdbcb684662e2e84e290ede7db733c67f26c7d2c2
linux: fix a regression in how enslaved devices' MAC addresses are retrieved

The MAC address of an enslaved device was not retrieved
correctly. `iflinux_get_permanent_mac()` was called with the master
device instead of the enslaved device. Most of the time, no warning
was issued except when the master device was a slave of another
device (for example, a bridge). This closes #45.
NEWS
src/daemon/interfaces-linux.c