From ce138dba0fba39326d0a9af1b2df94aa5cdb2b4d Mon Sep 17 00:00:00 2001 From: zonyitoo Date: Sun, 1 Dec 2024 10:31:00 +0800 Subject: [PATCH] fix: fixed linux build --- crates/shadowsocks/src/net/sys/unix/linux/mod.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crates/shadowsocks/src/net/sys/unix/linux/mod.rs b/crates/shadowsocks/src/net/sys/unix/linux/mod.rs index 1a45aa0f5fc1..faebaec68124 100644 --- a/crates/shadowsocks/src/net/sys/unix/linux/mod.rs +++ b/crates/shadowsocks/src/net/sys/unix/linux/mod.rs @@ -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); }