From 4e1f3a4f88136e497962e4f976d5c7f216c31a15 Mon Sep 17 00:00:00 2001 From: Ruben Pollan Date: Wed, 24 Mar 2021 12:47:02 +0100 Subject: Let's rename the API to use location instead of gateway --- pkg/vpn/openvpn.go | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'pkg/vpn/openvpn.go') diff --git a/pkg/vpn/openvpn.go b/pkg/vpn/openvpn.go index 1447458..e4d2781 100644 --- a/pkg/vpn/openvpn.go +++ b/pkg/vpn/openvpn.go @@ -235,9 +235,8 @@ func (b *Bitmask) ListLocationFullness(transport string) map[string]float64 { } // UseGateway selects a gateway, by label, as the default gateway -func (b *Bitmask) UseGateway(label string) error { +func (b *Bitmask) UseGateway(label string) { b.bonafide.SetManualGateway(label) - return nil } // UseTransport selects an obfuscation transport to use -- cgit v1.2.3