]> git.ipfire.org Git - thirdparty/lldpd.git/commit - NEWS
priv: don't run ethtool as root
authorVincent Bernat <vincent@bernat.im>
Sat, 12 Aug 2017 21:15:56 +0000 (23:15 +0200)
committerVincent Bernat <vincent@bernat.im>
Sat, 12 Aug 2017 21:15:56 +0000 (23:15 +0200)
commit78c9dfdec6b2129b97b3015b5b007d1fa311ab7b
treede85a6f7b2b32c7fa48671eec0d855c66fb96e97
parent2d8bd0876a59f127cb33fef71ce92772a03c64c6
priv: don't run ethtool as root

Kernels older than 2.6.19 won't get any link information. Kernels 4.6,
4.7 and 4.8 won't get information from GLINKSETTINGS (higher speeds)
but they are not LTS kernels so we should be fine. This removes a
bunch of code.
NEWS
src/daemon/interfaces-linux.c
src/daemon/lldpd.h
src/daemon/priv-linux.c
src/daemon/priv.c