Skip to content

Commit

Permalink
fix: fixed linux build
Browse files Browse the repository at this point in the history
  • Loading branch information
zonyitoo committed Dec 1, 2024
1 parent f302723 commit ce138db
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion crates/shadowsocks/src/net/sys/unix/linux/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -310,7 +310,7 @@ pub async fn bind_outbound_udp_socket(bind_addr: &SocketAddr, config: &ConnectOp
UdpSocket::from_std(socket.into())?
};

if !config.udp_allow_fragmentation {
if !config.udp.allow_fragmentation {
if let Err(err) = set_disable_ip_fragmentation(af, &socket) {
warn!("failed to disable IP fragmentation, error: {}", err);
}
Expand Down

0 comments on commit ce138db

Please sign in to comment.