Add connection checking for WG/AWG via logs (#1056)

This commit is contained in:
albexk
2024-09-09 22:08:06 +03:00
committed by GitHub
parent 9cab51fb00
commit 46058f614e
5 changed files with 47 additions and 5 deletions
+1 -1
View File
@@ -109,7 +109,7 @@ class Xray : Protocol() {
}
}
override fun startVpn(config: JSONObject, vpnBuilder: Builder, protect: (Int) -> Boolean) {
override suspend fun startVpn(config: JSONObject, vpnBuilder: Builder, protect: (Int) -> Boolean) {
if (isRunning) {
Log.w(TAG, "XRay already running")
return