Capabilities basically work but need to refactor a bit for performance reasons.
This commit is contained in:
parent
ac3e883c05
commit
78d548458b
3 changed files with 6 additions and 15 deletions
|
@ -1150,8 +1150,8 @@ bool Network::gate(const SharedPtr<Peer> &peer)
|
|||
if ( (_config.isPublic()) || ((m)&&(m->isAllowedOnNetwork(_config))) ) {
|
||||
if (!m)
|
||||
m = &(_membership(peer->address()));
|
||||
m->pushCredentials(RR,now,peer->address(),_config,-1,false);
|
||||
if (m->shouldLikeMulticasts(now)) {
|
||||
m->pushCredentials(RR,now,peer->address(),_config,-1,false);
|
||||
_announceMulticastGroupsTo(peer->address(),_allMulticastGroups());
|
||||
m->likingMulticasts(now);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue