Skip to content

Commit

Permalink
Merge pull request #140 from Zerorigin/master
Browse files Browse the repository at this point in the history
fix: missing fields of NetConf::is_empty
  • Loading branch information
zephyrchien authored Sep 16, 2024
2 parents d8810e3 + 3f29396 commit 52a57a8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/conf/net.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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
]
Expand Down

0 comments on commit 52a57a8

Please sign in to comment.