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.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/pkg/backend/api.go b/pkg/backend/api.go
index 53800b3..96f3072 100644
--- a/pkg/backend/api.go
+++ b/pkg/backend/api.go
@@ -81,6 +81,7 @@ func UseAutomaticGateway() {
func SetTransport(label string) {
ctx.bm.SetTransport(label)
+ go trigger(OnStatusChanged)
}
func GetTransport() *C.char {