adding logic for key checks, OS on server

This commit is contained in:
afeiszli
2022-02-04 14:19:26 -05:00
parent 3248717585
commit 2cbf08ad1e
7 changed files with 42 additions and 26 deletions

View File

@@ -44,6 +44,8 @@ func ServerJoin(networkSettings *models.Network) (models.Node, error) {
UDPHolePunch: "no",
IsLocal: networkSettings.IsLocal,
LocalRange: networkSettings.LocalRange,
OS: runtime.GOOS,
Version: servercfg.Version,
}
SetNodeDefaults(node)