mirror of
https://github.com/ZeroTier/ZeroTierOne
synced 2025-07-05 04:26:15 -07:00
DBMirrorSet wasn't passing along os/arch infof
This commit is contained in:
parent
27021ff425
commit
08e0da7921
2 changed files with 3 additions and 3 deletions
|
@ -209,7 +209,7 @@ void DBMirrorSet::eraseMember(const uint64_t networkId,const uint64_t memberId)
|
|||
void DBMirrorSet::nodeIsOnline(const uint64_t networkId,const uint64_t memberId,const InetAddress &physicalAddress, const char *osArch) {
|
||||
std::shared_lock<std::shared_mutex> l(_dbs_l);
|
||||
for(auto d=_dbs.begin();d!=_dbs.end();++d) {
|
||||
(*d)->nodeIsOnline(networkId,memberId,physicalAddress);
|
||||
(*d)->nodeIsOnline(networkId,memberId,physicalAddress,osArch);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -1408,8 +1408,8 @@ void EmbeddedNetworkController::_request(
|
|||
#endif
|
||||
char osArch[256];
|
||||
metaData.get(ZT_NETWORKCONFIG_REQUEST_METADATA_KEY_OS_ARCH, osArch, sizeof(osArch));
|
||||
fprintf(stderr, "Network Config Request: nwid=%.16llx, osArch=%s\n",
|
||||
nwid, osArch);
|
||||
fprintf(stderr, "Network Config Request: nwid=%.16llx, nodeid=%.10llx, osArch=%s\n",
|
||||
nwid, identity.address().toInt(), osArch);
|
||||
_db.nodeIsOnline(nwid,identity.address().toInt(),fromAddr, osArch);
|
||||
#ifdef CENTRAL_CONTROLLER_REQUEST_BENCHMARK
|
||||
b2.stop();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue