Going once... going twice!
This commit is contained in:
parent
9934a856dd
commit
bb53ee9567
14 changed files with 393 additions and 640 deletions
|
@ -1366,12 +1366,6 @@ void Network::_externalConfig(ZT_VirtualNetworkConfig *ec) const
|
|||
memset(&(ec->routes[i]),0,sizeof(ZT_VirtualNetworkRoute));
|
||||
}
|
||||
}
|
||||
|
||||
ec->multicastSubscriptionCount = (unsigned int)_myMulticastGroups.size();
|
||||
for(unsigned long i=0;i<(unsigned long)_myMulticastGroups.size();++i) {
|
||||
ec->multicastSubscriptions[i].mac = _myMulticastGroups[i].mac().toInt();
|
||||
ec->multicastSubscriptions[i].adi = _myMulticastGroups[i].adi();
|
||||
}
|
||||
}
|
||||
|
||||
void Network::_announceMulticastGroups(void *tPtr,bool force)
|
||||
|
|
|
@ -306,7 +306,7 @@ int Utils::b32e(const uint8_t *data,int length,char *result,int bufSize)
|
|||
}
|
||||
int index = 0x1F & (buffer >> (bitsLeft - 5));
|
||||
bitsLeft -= 5;
|
||||
result[count++] = "abcdefghijklmnopqrstuvwxyZ234567"[index];
|
||||
result[count++] = "abcdefghijklmnopqrstuvwxyz234567"[index];
|
||||
}
|
||||
}
|
||||
if (count < bufSize) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue