Skip to content

Commit ff26d0e

Browse files
committed
Merge branch 'fix-vpn-online'
2 parents f60e547 + 95ea1d9 commit ff26d0e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

android/lib/talpid/src/main/kotlin/net/mullvad/talpid/util/UnderlyingConnectivityStatusResolver.kt

+1-1
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ class UnderlyingConnectivityStatusResolver(
5858
Either.catch { DatagramSocket() }.onLeft { Logger.e("Could not open socket or bind port") }
5959

6060
private fun DatagramSocket.connectSafe(address: InetSocketAddress): Either<Throwable, Unit> =
61-
Either.catch { connect(address.address, address.port) }
61+
Either.catch { connect(address) }
6262
.onLeft { Logger.e("Socket could not be set up") }
6363
.also { close() }
6464

0 commit comments

Comments
 (0)