Maint: rename utility names to be Openvpn specific

- GetTargetIPConnection to GetTargetIPOpenVPNConnection
- PickRandomConnection to PickRandomOpenVPNConnection
This commit is contained in:
Quentin McGaw (desktop)
2021-08-17 14:08:53 +00:00
parent 836412b032
commit a00de75f61
20 changed files with 40 additions and 40 deletions

View File

@@ -38,9 +38,9 @@ func (p *PIA) GetOpenVPNConnection(selection configuration.ServerSelection) (
}
if selection.TargetIP != nil {
connection, err = utils.GetTargetIPConnection(connections, selection.TargetIP)
connection, err = utils.GetTargetIPOpenVPNConnection(connections, selection.TargetIP)
} else {
connection, err = utils.PickRandomConnection(connections, p.randSource), nil
connection, err = utils.PickRandomOpenVPNConnection(connections, p.randSource), nil
}
if err != nil {