grab os/arch info from nc request
Some checks are pending
/ build_macos (push) Waiting to run
/ build_windows (push) Waiting to run
/ build_ubuntu (push) Waiting to run

This commit is contained in:
Grant Limberg 2025-07-02 09:17:50 -07:00
parent ee73ac1a74
commit ecedddb19b
No known key found for this signature in database
GPG key ID: 8F2F97D3BE8D7735

View file

@ -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();