From 496109fdcc5fc1f38ffbc561aceab8e8bfece03a Mon Sep 17 00:00:00 2001 From: Adam Ierymenko Date: Fri, 3 Oct 2014 18:27:42 -0700 Subject: Announce multicast group changes on network rescanMulticastGroups() --- node/Peer.cpp | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) (limited to 'node/Peer.cpp') diff --git a/node/Peer.cpp b/node/Peer.cpp index 5f27da3f..8012c5ff 100644 --- a/node/Peer.cpp +++ b/node/Peer.cpp @@ -113,10 +113,11 @@ void Peer::receive( } } - // Announce multicast groups of interest to direct peers if they are - // considered authorized members of a given network. Also announce to - // supernodes and network controllers. TODO: the former may go - // obsolete with time as network controllers take over this role. + /* Announce multicast groups of interest to direct peers if they are + * considered authorized members of a given network. Also announce to + * supernodes and network controllers. The other place this is done + * is in rescanMulticastGroups() in Network, but that only sends something + * if a network's multicast groups change. */ if ((now - _lastAnnouncedTo) >= ((ZT_MULTICAST_LIKE_EXPIRE / 2) - 1000)) { _lastAnnouncedTo = now; -- cgit v1.2.3