diff options
Diffstat (limited to 'pkg/backend/api.go')
-rw-r--r-- | pkg/backend/api.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/pkg/backend/api.go b/pkg/backend/api.go index 761c03d..f1fed57 100644 --- a/pkg/backend/api.go +++ b/pkg/backend/api.go @@ -57,8 +57,8 @@ func SwitchOff() { // TODO implement Reconnect - do not tear whole fw down in between -func UseGateway(label string) { - ctx.bm.UseGateway(string(label)) +func UseLocation(label string) { + ctx.bm.UseGateway(label) time.Sleep(200 * time.Millisecond) SwitchOff() time.Sleep(500 * time.Millisecond) |