mirror of
https://github.com/ZeroTier/ZeroTierOne
synced 2025-07-05 12:36:14 -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++;
|
c2++;
|
||||||
b2.start();
|
b2.start();
|
||||||
#endif
|
#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
|
#ifdef CENTRAL_CONTROLLER_REQUEST_BENCHMARK
|
||||||
b2.stop();
|
b2.stop();
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue