diff options
Diffstat (limited to 'pkg/vpn/openvpn.go')
-rw-r--r-- | pkg/vpn/openvpn.go | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/pkg/vpn/openvpn.go b/pkg/vpn/openvpn.go index 1857476..298ea75 100644 --- a/pkg/vpn/openvpn.go +++ b/pkg/vpn/openvpn.go @@ -231,9 +231,8 @@ func (b *Bitmask) VPNCheck() (helpers bool, privilege bool, err error) { return b.launch.check() } -func (b *Bitmask) ListGatewaysByCity(transport string) (map[string]string, error) { - /* TODO filter by transport */ - gwForCities, err := b.bonafide.PickGatewayForCities() +func (b *Bitmask) ListGatewaysByCity(transport string) (map[string]bonafide.Gateway, error) { + gwForCities, err := b.bonafide.PickGatewayForCities(transport) return gwForCities, err } |