From 2680f55456806f1f2c331b6ea8ff768553ae27f5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Luis=20Enrique=20Mu=C3=B1oz=20Mart=C3=ADn?= Date: Wed, 13 Sep 2023 14:17:03 +0200 Subject: [PATCH] Update src/adapters/udp.rs --- src/adapters/udp.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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()));