Skip to content

Commit 7de7f90

Browse files
committed
usee peer as name to represent device
1 parent de05431 commit 7de7f90

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

Sources/MinimuxerImpl.swift

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -89,8 +89,8 @@ final internal class MinimuxerImpl: MinimuxerAPI {
8989
return .failure(.invalidVPN("VPN tunnel iface is up but tunnel peer IP is not yet available — VPN may not be routing device traffic correctly. Cause: \(error.localizedDescription)"))
9090
}
9191

92-
let deviceConnection = testDeviceConnection(ifaddr: tunnelPeerIp)
93-
if !deviceConnection {
92+
let peerReachable = testDeviceConnection(ifaddr: tunnelPeerIp)
93+
if !peerReachable {
9494
debugLog("[minimuxer] minimuxer not ready: failed to connect to tunnel peer IP")
9595
return .failure(.invalidVPN("VPN tunnel iface is up and tunnel peer IP \(tunnelPeerIp) is known, but TCP port poll failed — device may be unreachable on this interface"))
9696
}

0 commit comments

Comments
 (0)