Skip to content

Commit

Permalink
Update neqo-helper/src/lib.rs
Browse files Browse the repository at this point in the history
Co-authored-by: Martin Thomson <mt@lowentropy.net>
  • Loading branch information
larseggert and martinthomson authored Nov 22, 2023
1 parent 35e917a commit bad9fbd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion neqo-helper/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ fn to_socket_addr(addr: &SockaddrStorage) -> SocketAddr {
let port = match fam {
AddressFamily::Inet => addr.as_sockaddr_in().unwrap().port(),
AddressFamily::Inet6 => addr.as_sockaddr_in6().unwrap().port(),
_ => todo!(),
_ => unreachable!(),
};

match fam {
Expand Down

0 comments on commit bad9fbd

Please sign in to comment.