Skip to content

Commit

Permalink
Add src and dst fields to request
Browse files Browse the repository at this point in the history
  • Loading branch information
niklasberglund authored and buggmagnet committed Oct 29, 2024
1 parent fc5d608 commit c2fdaa0
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 c2fdaa0

Please sign in to comment.