diff --git a/src/adapters/udp.rs b/src/adapters/udp.rs index c046168..202c1c7 100644 --- a/src/adapters/udp.rs +++ b/src/adapters/udp.rs @@ -267,7 +267,7 @@ impl LocalResource { fn convert_sockaddr(addr: SockaddrStorage) -> Option { if let Some(addr) = addr.as_sockaddr_in() { - return Some(SocketAddr::V4((*addr).into())); + return Some(SocketAddr::V4((*addr).into())) } if let Some(addr) = addr.as_sockaddr_in6() { return Some(SocketAddr::V6((*addr).into()));