diff options
| author | Adam Ierymenko <adam.ierymenko@gmail.com> | 2015-04-07 19:35:16 -0700 |
|---|---|---|
| committer | Adam Ierymenko <adam.ierymenko@gmail.com> | 2015-04-07 19:35:16 -0700 |
| commit | 59af674e748ac13073a1c1c58c47aa17eb878088 (patch) | |
| tree | 65722537f16e9dbd042413846696261e01ec9fde /node | |
| parent | 6de799621809a53b76d47549ffbb37dd567827a7 (diff) | |
| download | infinitytier-59af674e748ac13073a1c1c58c47aa17eb878088.tar.gz infinitytier-59af674e748ac13073a1c1c58c47aa17eb878088.zip | |
Announce multicast groups on multicast subscribe.
Diffstat (limited to 'node')
| -rw-r--r-- | node/Network.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/node/Network.cpp b/node/Network.cpp index da45f050..13c81344 100644 --- a/node/Network.cpp +++ b/node/Network.cpp @@ -167,6 +167,7 @@ void Network::multicastSubscribe(const MulticastGroup &mg) return; _myMulticastGroups.push_back(mg); std::sort(_myMulticastGroups.begin(),_myMulticastGroups.end()); + _announceMulticastGroups(); } void Network::multicastUnsubscribe(const MulticastGroup &mg) |
