diff options
author | kali kaneko (leap communications) <kali@leap.se> | 2021-05-31 02:34:21 +0200 |
---|---|---|
committer | kali kaneko (leap communications) <kali@leap.se> | 2021-06-01 12:34:07 +0200 |
commit | 3fdbb895b8372caa080044cade00f2de6b00ce91 (patch) | |
tree | d7415f43414a42135ed7dde190a1d66cf2501acc /pkg/backend/actions.go | |
parent | 00be891d3b0cb401e642a5331aedcc399641b8ef (diff) |
[feat] obfs4 selectable from gui
Diffstat (limited to 'pkg/backend/actions.go')
-rw-r--r-- | pkg/backend/actions.go | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/pkg/backend/actions.go b/pkg/backend/actions.go index 1860b09..9e0941b 100644 --- a/pkg/backend/actions.go +++ b/pkg/backend/actions.go @@ -24,9 +24,8 @@ func getGateway() string { return ctx.bm.GetCurrentGateway() } -// TODO return bool? -func useTransport(transport string) { - err := ctx.bm.UseTransport(transport) +func setTransport(t string) { + err := ctx.bm.SetTransport(t) if err != nil { log.Println(err) } |