From c2fdaa042b17e04cc50da73d048222bce6e147d4 Mon Sep 17 00:00:00 2001 From: Niklas Berglund Date: Wed, 23 Oct 2024 14:30:57 +0200 Subject: [PATCH] Add src and dst fields to request --- ios/MullvadVPNUITests/Networking/FirewallAPIClient.swift | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/ios/MullvadVPNUITests/Networking/FirewallAPIClient.swift b/ios/MullvadVPNUITests/Networking/FirewallAPIClient.swift index 0577e58e4e66..b53d0b15e0eb 100644 --- a/ios/MullvadVPNUITests/Networking/FirewallAPIClient.swift +++ b/ios/MullvadVPNUITests/Networking/FirewallAPIClient.swift @@ -32,8 +32,10 @@ class FirewallAPIClient { let dataDictionary: [String: Any] = [ "label": sessionIdentifier, - "from": firewallRule.fromIPAddress, - "to": firewallRule.toIPAddress, + "from": firewallRule.fromIPAddress, // Deprecated, replaced by "src" + "to": firewallRule.toIPAddress, // Deprectated, replaced by "dst" + "src": firewallRule.fromIPAddress, + "dst": firewallRule.toIPAddress, "protocols": firewallRule.protocolsAsStringArray(), ]