mirror of
https://github.com/tun2proxy/tun2proxy.git
synced 2025-04-19 21:39:09 +00:00
parent
060ca5740f
commit
48f527ad81
1 changed files with 1 additions and 1 deletions
|
@ -134,7 +134,7 @@ async fn create_udp_stream(socket_queue: &Option<Arc<SocketQueue>>, peer: Socket
|
|||
Some(queue) => {
|
||||
let socket = queue.recv_udp(peer.ip().into()).await?;
|
||||
socket.connect(peer).await?;
|
||||
UdpStream::from_tokio(socket).await
|
||||
UdpStream::from_tokio(socket, peer).await
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue