When bridge VLAN filtering is active, network_get_physdev resolves UCI interface names to the VLAN sub-interface (e.g. br-lanv0) rather than the bridge master. LLDP frames use reserved multicast (01:80:c2:00:00:0e) which bridges trap to member ports, so lldpd must listen on the physical ports to receive them. Detect when the resolved device is a sub-interface of a bridge and expand it to the list of bridge member ports instead. Signed-off-by: John Crispin <john@phrozen.org> |
||
|---|---|---|
| .. | ||
| config | ||
| ipv6 | ||
| services | ||
| utils | ||