summaryrefslogtreecommitdiff
path: root/pkg/vpn/status.go
diff options
context:
space:
mode:
authorkali kaneko (leap communications) <kali@leap.se>2021-09-06 21:08:14 +0200
committerkali kaneko (leap communications) <kali@leap.se>2021-10-06 18:38:12 +0200
commit7fdad87222a963e57031132acce7c06f4b80e64d (patch)
tree6c93efc27ce892f56a4e5400c890f7bee8289ae5 /pkg/vpn/status.go
parent566389285f60a59c8dc1323f977ecf4e36e7f679 (diff)
[ui] transient connecting state
Diffstat (limited to 'pkg/vpn/status.go')
-rw-r--r--pkg/vpn/status.go4
1 files changed, 4 insertions, 0 deletions
diff --git a/pkg/vpn/status.go b/pkg/vpn/status.go
index 0b04c3b..88735e6 100644
--- a/pkg/vpn/status.go
+++ b/pkg/vpn/status.go
@@ -103,6 +103,10 @@ func (b *Bitmask) GetCurrentCountry() string {
return b.onGateway.CountryCode
}
+func (b *Bitmask) GetBestLocation(transport string) string {
+ return b.bonafide.GetBestLocation(transport)
+}
+
func (b *Bitmask) IsManualLocation() bool {
return b.bonafide.IsManualLocation()
}