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,8 +38,8 @@ func (i *Ivpn) GetOpenVPNConnection(selection configuration.ServerSelection) (
}
if selection.TargetIP != nil {
return utils.GetTargetIPConnection(connections, selection.TargetIP)
return utils.GetTargetIPOpenVPNConnection(connections, selection.TargetIP)
}
return utils.PickRandomConnection(connections, i.randSource), nil
return utils.PickRandomOpenVPNConnection(connections, i.randSource), nil
}