diff options
Diffstat (limited to 'src/rendezvous_server.rs')
-rw-r--r-- | src/rendezvous_server.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/rendezvous_server.rs b/src/rendezvous_server.rs index 30a6bd0..cd22b13 100644 --- a/src/rendezvous_server.rs +++ b/src/rendezvous_server.rs @@ -1277,7 +1277,7 @@ async fn create_udp_listener(port: i32, rmem: usize) -> ResultType<FramedSocket> let addr = SocketAddr::new(IpAddr::V4(Ipv4Addr::UNSPECIFIED), port as _); let s = FramedSocket::new_reuse(&addr, false, rmem).await?; log::debug!("listen on udp {:?}", s.local_addr()); - return Ok(s); + Ok(s) } #[inline] |