Skip to content

Commit

Permalink
remove 'allow deprecated'
Browse files Browse the repository at this point in the history
  • Loading branch information
yihau committed Apr 4, 2024
1 parent c62bcc1 commit 352b9e4
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion streamer/src/recvmmsg.rs
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,6 @@ pub fn recv_mmsg(socket: &UdpSocket, packets: &mut [Packet]) -> io::Result</*num
}

#[cfg(target_os = "linux")]
#[allow(deprecated)]
fn cast_socket_addr(addr: &sockaddr_storage, hdr: &mmsghdr) -> Option<SocketAddr> {
use libc::{sa_family_t, sockaddr_in, sockaddr_in6};
const SOCKADDR_IN_SIZE: usize = std::mem::size_of::<sockaddr_in>();
Expand Down

0 comments on commit 352b9e4

Please sign in to comment.