]> git.ipfire.org Git - thirdparty/lldpd.git/commit - configure.ac
interfaces: disable the use of ioctl for bridges
authorVincent Bernat <bernat@luffy.cx>
Sat, 22 Dec 2012 22:45:48 +0000 (23:45 +0100)
committerVincent Bernat <bernat@luffy.cx>
Sat, 22 Dec 2012 22:45:48 +0000 (23:45 +0100)
commit184bd19932493ee6c6997ed420a4bd7c6c6722d7
treeb8fd91b0fc90b3bf2c987c23cff4178df2f7cd89
parent5d6aba3e3a87fe03d48ea369937edb29d15ee06e
interfaces: disable the use of ioctl for bridges

ioctl for bridges are not needed since 2.6.14. Moreover, they don't
play well with some drivers and they have an undefined behaviour in
32/64 bits mixed environment. Instead, we use sysfs.

Moreover, we define a new configure option `--enable-oldies` which
allows the use of those ioctl. Currently, anything not needed with a
2.6.18 kernel will be declared as oldies and disabled by default.
NEWS
configure.ac
src/daemon/interfaces-linux.c