Bug fix: Privado server selection

This commit is contained in:
Quentin McGaw
2020-12-31 21:57:26 +00:00
parent d713782fe1
commit da92b6bfb9

View File

@@ -64,7 +64,7 @@ func (s *privado) GetOpenVPNConnection(selection models.ServerSelection) (
Protocol: selection.Protocol,
Hostname: servers[i].Hostname,
}
connections = append(connections, connection)
connections[i] = connection
}
return pickRandomConnection(connections, s.randSource), nil