Skip to content

Commit

Permalink
Update src/adapters/udp.rs
Browse files Browse the repository at this point in the history
  • Loading branch information
lemunozm authored Sep 13, 2023
1 parent de5e068 commit 2680f55
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/adapters/udp.rs
Original file line number Diff line number Diff line change
Expand Up @@ -267,7 +267,7 @@ impl LocalResource {

fn convert_sockaddr(addr: SockaddrStorage) -> Option<SocketAddr> {
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()));
Expand Down

0 comments on commit 2680f55

Please sign in to comment.