mirror of
https://github.com/zerotier/ZeroTierOne.git
synced 2025-06-16 14:18:24 +00:00
Also avoid sending tags and caps to old members since there is no point.
This commit is contained in:
@ -712,7 +712,6 @@ void EmbeddedNetworkController::request(
|
|||||||
++nc.ruleCount;
|
++nc.ruleCount;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
|
||||||
|
|
||||||
if ((memberCapabilities.is_array())&&(memberCapabilities.size() > 0)&&(capabilities.is_array())) {
|
if ((memberCapabilities.is_array())&&(memberCapabilities.size() > 0)&&(capabilities.is_array())) {
|
||||||
std::map< uint64_t,json * > capsById;
|
std::map< uint64_t,json * > capsById;
|
||||||
@ -761,6 +760,7 @@ void EmbeddedNetworkController::request(
|
|||||||
++nc.tagCount;
|
++nc.tagCount;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
if (routes.is_array()) {
|
if (routes.is_array()) {
|
||||||
for(unsigned long i=0;i<routes.size();++i) {
|
for(unsigned long i=0;i<routes.size();++i) {
|
||||||
|
Reference in New Issue
Block a user