Skip to content

Commit

Permalink
Fix mullvad-ios build
Browse files Browse the repository at this point in the history
  • Loading branch information
dlon committed Aug 16, 2024
1 parent 2172b85 commit 3217d0d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions mullvad-ios/src/tunnel_obfuscator_proxy/mod.rs
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
use std::{io, net::SocketAddr};
use tokio::task::JoinHandle;
use tunnel_obfuscation::{create_obfuscator, Settings as ObfuscationSettings, Udp2TcpSettings};
use tunnel_obfuscation::{create_obfuscator, Settings as ObfuscationSettings, udp2tcp::Settings};

mod ffi;

Expand All @@ -12,7 +12,7 @@ pub struct TunnelObfuscatorRuntime {

impl TunnelObfuscatorRuntime {
pub fn new(peer: SocketAddr) -> io::Result<Self> {
let settings = ObfuscationSettings::Udp2Tcp(Udp2TcpSettings { peer });
let settings = ObfuscationSettings::Udp2Tcp(Settings { peer });

Ok(Self { settings })
}
Expand Down

0 comments on commit 3217d0d

Please sign in to comment.