Browse Source

sort extclients

abhishek9686 10 months ago
parent
commit
15bfcada65
1 changed files with 1 additions and 0 deletions
  1. 1 0
      logic/extpeers.go

+ 1 - 0
logic/extpeers.go

@@ -802,6 +802,7 @@ func GetStaticNodesByNetwork(network models.NetworkID, onlyWg bool) (staticNode
 	if err != nil {
 		return
 	}
+	SortExtClient(extClients[:])
 	for _, extI := range extClients {
 		if extI.Network == network.String() {
 			if onlyWg && extI.RemoteAccessClientID != "" {