aboutsummaryrefslogtreecommitdiffstats
path: root/net/batman-adv/soft-interface.c
diff options
context:
space:
mode:
authorLinus Lüssing <linus.luessing@web.de>2014-02-15 11:47:51 -0500
committerAntonio Quartulli <antonio@meshcoding.com>2014-03-22 04:18:57 -0400
commit60432d756cf06e597ef9da511402dd059b112447 (patch)
tree69a5059678690c49672ebf430dc21763710060c3 /net/batman-adv/soft-interface.c
parente17931d1a61d189845d3ca923c5baf99e729156a (diff)
batman-adv: Announce new capability via multicast TVLV
If the soft interface of a node is not part of a bridge then a node announces a new multicast TVLV: The existence of this TVLV signalizes that this node is announcing all of its multicast listeners via the translation table infrastructure. Signed-off-by: Linus Lüssing <linus.luessing@web.de> Signed-off-by: Marek Lindner <mareklindner@neomailbox.ch> Signed-off-by: Antonio Quartulli <antonio@meshcoding.com>
Diffstat (limited to 'net/batman-adv/soft-interface.c')
-rw-r--r--net/batman-adv/soft-interface.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/net/batman-adv/soft-interface.c b/net/batman-adv/soft-interface.c
index 633e9d67d925..8ff47b7a0e04 100644
--- a/net/batman-adv/soft-interface.c
+++ b/net/batman-adv/soft-interface.c
@@ -689,6 +689,10 @@ static int batadv_softif_init_late(struct net_device *dev)
689#ifdef CONFIG_BATMAN_ADV_DAT 689#ifdef CONFIG_BATMAN_ADV_DAT
690 atomic_set(&bat_priv->distributed_arp_table, 1); 690 atomic_set(&bat_priv->distributed_arp_table, 1);
691#endif 691#endif
692#ifdef CONFIG_BATMAN_ADV_MCAST
693 bat_priv->mcast.flags = BATADV_NO_FLAGS;
694 atomic_set(&bat_priv->mcast.num_disabled, 0);
695#endif
692 atomic_set(&bat_priv->gw_mode, BATADV_GW_MODE_OFF); 696 atomic_set(&bat_priv->gw_mode, BATADV_GW_MODE_OFF);
693 atomic_set(&bat_priv->gw_sel_class, 20); 697 atomic_set(&bat_priv->gw_sel_class, 20);
694 atomic_set(&bat_priv->gw.bandwidth_down, 100); 698 atomic_set(&bat_priv->gw.bandwidth_down, 100);