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 51fa377..dc7cbbf 100644
--- a/pkg/backend/api.go
+++ b/pkg/backend/api.go
@@ -95,6 +95,7 @@ func SetTransport(label string) {
func SetUDP(udp bool) {
log.Println("DEBUG setting UDP")
ctx.cfg.SetUseUDP(udp)
+ ctx.bm.UseUDP(udp)
go trigger(OnStatusChanged)
}