Get node OS/Arch info into the CV2 db

This commit is contained in:
Grant Limberg 2025-05-14 15:06:24 -07:00
parent 224ee88b91
commit 1ffadf31de
14 changed files with 81 additions and 33 deletions

View file

@ -79,6 +79,12 @@ private:
DB *_psql;
};
struct NodeOnlineRecord {
uint64_t lastSeen;
InetAddress physicalAddress;
std::string osArch;
};
} // namespace ZeroTier
#endif // ZT_CONTROLLER_POSTGRESQL_HPP