Skip to content

Commit 3217d0d

Browse files
committed
Fix mullvad-ios build
1 parent 2172b85 commit 3217d0d

File tree

1 file changed

+2
-2
lines changed
  • mullvad-ios/src/tunnel_obfuscator_proxy

1 file changed

+2
-2
lines changed

mullvad-ios/src/tunnel_obfuscator_proxy/mod.rs

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
use std::{io, net::SocketAddr};
22
use tokio::task::JoinHandle;
3-
use tunnel_obfuscation::{create_obfuscator, Settings as ObfuscationSettings, Udp2TcpSettings};
3+
use tunnel_obfuscation::{create_obfuscator, Settings as ObfuscationSettings, udp2tcp::Settings};
44

55
mod ffi;
66

@@ -12,7 +12,7 @@ pub struct TunnelObfuscatorRuntime {
1212

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

1717
Ok(Self { settings })
1818
}

0 commit comments

Comments
 (0)