With a recent kernel, we can listen to individual member. lldpd is still
listening on master to keep compatibility with older kernels and because
it is difficult to detect if the kernel gives us this ability or not. We
can't rely on version numbers as some kernels have backported
features (like 2.6.18 from RHEL 5).
lldpd (0.7.12)
* Fix:
+ Don't complain when parsing a commented line.
- + Fix listening on bond devices.
+ + Fix listening on bond devices for old kernels (< 2.6.27).
lldpd (0.7.11)
* Features:
interfaces_setup_multicast(cfg, hardware->h_ifname, 0);
/* Then, we open a raw interface for the master */
+ log_debug("interfaces", "bonded device %s has master %s(%d)",
+ hardware->h_ifname, master->name, master->index);
if ((fd = priv_iface_init(master->index, master->name)) == -1) {
close(hardware->h_sendfd);
return -1;