]> git.ipfire.org Git - thirdparty/lldpd.git/commit
netlink: use netlink to retrieve bridge/bond/vlan information
authorVincent Bernat <vincent@bernat.im>
Sat, 25 Jul 2015 15:23:01 +0000 (17:23 +0200)
committerVincent Bernat <vincent@bernat.im>
Sat, 25 Jul 2015 15:35:39 +0000 (17:35 +0200)
commit16eacc5bc262ccd7f6a798e3bac47416e085fe34
treef3b127a9397053c57ebcf7c71922c26009012b6e
parent78d54e08869a77530322598d4885b0a24cf95b30
netlink: use netlink to retrieve bridge/bond/vlan information

On Linux, Netlink is more efficient to get this kind of information. Use
it all the time, unless we are configured to run on old kernels. In this
case, fallback to the previous functions.

An old kernel is now < 2.6.32 (RHEL 6, Ubuntu Lucid, Debian Squeeze).
NEWS
configure.ac
src/daemon/interfaces-linux.c
src/daemon/netlink.c