Browse Source

Announce multicast groups on multicast subscribe.

Adam Ierymenko 10 years ago
parent
commit
59af674e74
1 changed files with 1 additions and 0 deletions
  1. 1 0
      node/Network.cpp

+ 1 - 0
node/Network.cpp

@@ -167,6 +167,7 @@ void Network::multicastSubscribe(const MulticastGroup &mg)
 		return;
 		return;
 	_myMulticastGroups.push_back(mg);
 	_myMulticastGroups.push_back(mg);
 	std::sort(_myMulticastGroups.begin(),_myMulticastGroups.end());
 	std::sort(_myMulticastGroups.begin(),_myMulticastGroups.end());
+	_announceMulticastGroups();
 }
 }
 
 
 void Network::multicastUnsubscribe(const MulticastGroup &mg)
 void Network::multicastUnsubscribe(const MulticastGroup &mg)