mirror of
https://github.com/zerotier/ZeroTierOne.git
synced 2024-12-23 23:02:23 +00:00
Fix MULTICAST_GATHER reply problem in root
This commit is contained in:
parent
5435ec7545
commit
4c08ac7873
@ -351,9 +351,11 @@ static void handlePacket(const int v4s,const int v6s,const InetAddress *const ip
|
||||
pkt.addSize(2);
|
||||
|
||||
unsigned int l = 0;
|
||||
for(auto g=forGroup->second.begin();((l<gatherLimit)&&(g!=forGroup->second.end()));++l,++g) {
|
||||
if (g->first != source)
|
||||
for(auto g=forGroup->second.begin();((l<gatherLimit)&&(g!=forGroup->second.end()));++g) {
|
||||
if (g->first != source) {
|
||||
++l;
|
||||
g->first.appendTo(pkt);
|
||||
}
|
||||
}
|
||||
|
||||
if (l > 0) {
|
||||
|
Loading…
Reference in New Issue
Block a user