From b29c23cc9cb02c9a5eb00927d3e5b054ec13b189 Mon Sep 17 00:00:00 2001 From: Vincent Bernat Date: Tue, 17 Mar 2009 15:01:40 +0100 Subject: [PATCH] Some virtual ethernet interfaces do not have IFF_MULTICAST flag. We use them if they have at least the IFF_BROADCAST flag. This is useful for Xen Dom0 to get LLDP information from DomU. --- src/lldpd.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lldpd.c b/src/lldpd.c index b2347c22..5d4222ec 100644 --- a/src/lldpd.c +++ b/src/lldpd.c @@ -1347,7 +1347,7 @@ lldpd_loop(struct lldpd *cfg) (iface_is_bond(cfg, ifa->ifa_name))) continue; - if (!(ifa->ifa_flags & IFF_MULTICAST)) + if (!(ifa->ifa_flags & (IFF_MULTICAST|IFF_BROADCAST))) continue; if (iface_is_wireless(cfg, ifa->ifa_name)) -- 2.39.5