chore(filter): common filter for all providers

This commit is contained in:
Quentin McGaw
2022-04-18 17:06:57 +00:00
parent ac9571c6b2
commit f5c00c3e2d
54 changed files with 435 additions and 1571 deletions

View File

@@ -11,7 +11,7 @@ func (i *Ivpn) GetConnection(selection settings.ServerSelection) (
port := getPort(selection)
protocol := utils.GetProtocol(selection)
servers, err := i.filterServers(selection)
servers, err := utils.FilterServers(i.servers, selection)
if err != nil {
return connection, err
}