mirror of
https://github.com/ZeroTier/ZeroTierOne
synced 2025-07-05 04:26:15 -07:00
grab os/arch info from nc request
This commit is contained in:
parent
ee73ac1a74
commit
ecedddb19b
1 changed files with 3 additions and 1 deletions
|
@ -1406,7 +1406,9 @@ void EmbeddedNetworkController::_request(
|
|||
c2++;
|
||||
b2.start();
|
||||
#endif
|
||||
_db.nodeIsOnline(nwid,identity.address().toInt(),fromAddr);
|
||||
char osArch[256];
|
||||
metaData.get(ZT_NETWORKCONFIG_REQUEST_METADATA_KEY_OS_ARCH, osArch, sizeof(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