]> git.ipfire.org Git - thirdparty/lldpd.git/commit
interfaces: query permanent MAC address through ethtool
authorVincent Bernat <vincent@bernat.im>
Tue, 1 Dec 2015 08:01:17 +0000 (09:01 +0100)
committerVincent Bernat <vincent@bernat.im>
Tue, 1 Dec 2015 08:01:17 +0000 (09:01 +0100)
commitd535fe053e0dee82199a1630c95512acbcc1e3ce
tree6d25f16e4f92d4027dc5111cf224173020896436
parente7f83dc0ab534669598155e42452e20d4a8e7a54
interfaces: query permanent MAC address through ethtool

This is possible since 2.6.14. No need to parse a file. We still need to
do that as root as this is only allowed for mere mortals since
2.6.19 (and we would like to support 2.6.18). As a side note, it's
possible to query settings since 2.6.36 (so priv_ethtool is still
needed).
NEWS
src/daemon/interfaces-linux.c
src/daemon/lldpd.h
src/daemon/priv-linux.c
src/daemon/priv.c
src/daemon/usr.sbin.lldpd.in