Bug fix: Privado server selection
This commit is contained in:
@@ -64,7 +64,7 @@ func (s *privado) GetOpenVPNConnection(selection models.ServerSelection) (
|
|||||||
Protocol: selection.Protocol,
|
Protocol: selection.Protocol,
|
||||||
Hostname: servers[i].Hostname,
|
Hostname: servers[i].Hostname,
|
||||||
}
|
}
|
||||||
connections = append(connections, connection)
|
connections[i] = connection
|
||||||
}
|
}
|
||||||
|
|
||||||
return pickRandomConnection(connections, s.randSource), nil
|
return pickRandomConnection(connections, s.randSource), nil
|
||||||
|
|||||||
Reference in New Issue
Block a user