batman-adv: mcast: collect softif listeners from IP lists instead
authorLinus Lüssing <linus.luessing@c0d3.blue>
Sun, 26 May 2019 16:35:49 +0000 (18:35 +0200)
committerSimon Wunderlich <sw@simonwunderlich.de>
Thu, 27 Jun 2019 17:25:04 +0000 (19:25 +0200)
commit5c506802ca6e936a283d65110922c1a1415af1d4
tree44df21f587929a7a3538323cc194a1ff6728cbe9
parent6bc4544021f82283f0949f94494011730ecdd084
batman-adv: mcast: collect softif listeners from IP lists instead

Instead of collecting multicast MAC addresses from the netdev hw mc
list collect a node's multicast listeners from the IP lists and convert
those to MAC addresses.

This allows to exclude addresses of specific scope later. On a
multicast MAC address the IP destination scope is not visible anymore.

Signed-off-by: Linus Lüssing <linus.luessing@c0d3.blue>
Signed-off-by: Sven Eckelmann <sven@narfation.org>
Signed-off-by: Simon Wunderlich <sw@simonwunderlich.de>
net/batman-adv/multicast.c