diff options
-rw-r--r-- | tunnel/src/main/java/com/wireguard/android/backend/GoBackend.java | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/tunnel/src/main/java/com/wireguard/android/backend/GoBackend.java b/tunnel/src/main/java/com/wireguard/android/backend/GoBackend.java index 2af43fb2..120038a3 100644 --- a/tunnel/src/main/java/com/wireguard/android/backend/GoBackend.java +++ b/tunnel/src/main/java/com/wireguard/android/backend/GoBackend.java @@ -654,8 +654,10 @@ public final class GoBackend implements Backend { String pacFile = downloadPacFile(activeNetwork, pacFileUrl); int listenPort = startHttpProxy(pacFile); ProxyInfo localPi = ProxyInfo.buildDirectProxy("localhost", listenPort); + Log.i(TAG, "setHttpProxy: http://" + localPi.getHost() + ":" + localPi.getPort() + "/"); builder.setHttpProxy(localPi); } else { + Log.i(TAG, "setHttpProxy: http://" + pi.getHost() + ":" + pi.getPort() + "/"); builder.setHttpProxy(pi); } } |