]> git.ipfire.org Git - thirdparty/lldpd.git/commit
interfaces: use ethtool to get permanent MAC for bonds/teams
authorVincent Bernat <vincent@bernat.im>
Sat, 12 Aug 2017 19:30:17 +0000 (21:30 +0200)
committerVincent Bernat <vincent@bernat.im>
Sat, 12 Aug 2017 19:30:17 +0000 (21:30 +0200)
commit2d8bd0876a59f127cb33fef71ce92772a03c64c6
tree2a65d8578edb6769e2fe6730ca92bbd0d52070fe
parent5f658dacf0d82f7f17ae5d54689fc2901fb95e33
interfaces: use ethtool to get permanent MAC for bonds/teams

As this doesn't work for all devices (like dummy and veth), we still
fallback to old code using /proc/net/bonding for bonds. No fallback
available for team devices.
NEWS
src/daemon/interfaces-linux.c