From 3f293964b5e59e9e9a2ab266fe1b12b286d91b26 Mon Sep 17 00:00:00 2001 From: Zerorigin Date: Tue, 10 Sep 2024 19:51:49 +0800 Subject: [PATCH] fix: Omission properties of NetConf.is_empty function --- src/conf/net.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/conf/net.rs b/src/conf/net.rs index 8c9cd274..08a680cf 100644 --- a/src/conf/net.rs +++ b/src/conf/net.rs @@ -66,7 +66,7 @@ impl Config for NetConf { fn is_empty(&self) -> bool { crate::empty![self => - ipv6_only, + no_tcp, use_udp, ipv6_only, send_proxy, accept_proxy, send_proxy_version, accept_proxy_timeout, tcp_keepalive, tcp_keepalive_probe, tcp_timeout, udp_timeout ]