summaryrefslogtreecommitdiff
path: root/pkg/bitmask
diff options
context:
space:
mode:
authorkali kaneko (leap communications) <kali@leap.se>2021-11-24 20:40:18 +0100
committerkali kaneko (leap communications) <kali@leap.se>2021-11-24 21:16:01 +0100
commita81bf938fe2b9409d1fa0175cc5f20635bb16127 (patch)
treebb5b86654b687d31fe880a8996674272cf1e4fa8 /pkg/bitmask
parenta234a8ef5bf8564221f615d0010a810e501905bb (diff)
[feat] enable udp only if really announced
Diffstat (limited to 'pkg/bitmask')
-rw-r--r--pkg/bitmask/bitmask.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/pkg/bitmask/bitmask.go b/pkg/bitmask/bitmask.go
index d02487b..80b502e 100644
--- a/pkg/bitmask/bitmask.go
+++ b/pkg/bitmask/bitmask.go
@@ -36,6 +36,7 @@ type Bitmask interface {
GetTransport() string
SetTransport(string) error
UseUDP(bool) error
+ OffersUDP() bool
GetCurrentGateway() string
GetCurrentLocation() string
GetCurrentCountry() string