summaryrefslogtreecommitdiff
path: root/pkg/backend/api.go
diff options
context:
space:
mode:
Diffstat (limited to 'pkg/backend/api.go')
-rw-r--r--pkg/backend/api.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/pkg/backend/api.go b/pkg/backend/api.go
index e96c65b..53800b3 100644
--- a/pkg/backend/api.go
+++ b/pkg/backend/api.go
@@ -79,8 +79,8 @@ func UseAutomaticGateway() {
}
}
-func UseTransport(label string) {
- ctx.bm.UseTransport(label)
+func SetTransport(label string) {
+ ctx.bm.SetTransport(label)
}
func GetTransport() *C.char {