Browse Source

added islocal line

0xdcarns 3 years ago
parent
commit
ef34fa1a73
1 changed files with 1 additions and 0 deletions
  1. 1 0
      logic/server.go

+ 1 - 0
logic/server.go

@@ -40,6 +40,7 @@ func ServerJoin(networkSettings *models.Network, serverID string) error {
 		Name:         models.NODE_SERVER_NAME,
 		MacAddress:   serverID,
 		UDPHolePunch: "no",
+		IsLocal:      networkSettings.IsLocal,
 	}
 	SetNodeDefaults(node)