Skip to content

Commit

Permalink
Merge branch 'migrate-fields-in-the-new-rule-request-from-fromto-to-s…
Browse files Browse the repository at this point in the history
…rcdst-ios-903'
  • Loading branch information
buggmagnet committed Oct 29, 2024
2 parents fc5d608 + c2fdaa0 commit 91f5a07
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions ios/MullvadVPNUITests/Networking/FirewallAPIClient.swift
Original file line number Diff line number Diff line change
Expand Up @@ -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(),
]

Expand Down

0 comments on commit 91f5a07

Please sign in to comment.