From d0ed16deed597d213aa0714da3dbbec1b4905503 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Em=C4=ABls?= Date: Mon, 16 Dec 2024 16:32:25 +0100 Subject: [PATCH] fixup! Use IAN TCP connection for ephemeral peer exchange --- ios/MullvadTypes/Protocols/EphemeralPeerReceiver.swift | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/ios/MullvadTypes/Protocols/EphemeralPeerReceiver.swift b/ios/MullvadTypes/Protocols/EphemeralPeerReceiver.swift index e6b3da45f5c8..bd60aebc6264 100644 --- a/ios/MullvadTypes/Protocols/EphemeralPeerReceiver.swift +++ b/ios/MullvadTypes/Protocols/EphemeralPeerReceiver.swift @@ -48,7 +48,6 @@ public class EphemeralPeerReceiver: EphemeralPeerReceiving, TunnelProvider { } public func ephemeralPeerExchangeFailed() { - guard let receiver = tunnelProvider as? EphemeralPeerReceiving else { return } - receiver.ephemeralPeerExchangeFailed() + keyReceiver.ephemeralPeerExchangeFailed() } }