From 0efd19b935452a7b0b5561f9cba56b01ba7c627f Mon Sep 17 00:00:00 2001 From: "kali kaneko (leap communications)" Date: Fri, 24 Sep 2021 20:58:30 +0200 Subject: [feat] persist obfs4 & udp prefs --- gui/backend.go | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'gui/backend.go') diff --git a/gui/backend.go b/gui/backend.go index bc056b9..5c07cda 100644 --- a/gui/backend.go +++ b/gui/backend.go @@ -53,6 +53,11 @@ func GetTransport() *C.char { return (*C.char)(backend.GetTransport()) } +//export SetUDP +func SetUDP(udp bool) { + backend.SetUDP(udp) +} + //export Quit func Quit() { backend.Quit() -- cgit v1.2.3