Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: missing fields of NetConf::is_empty #140

Merged
merged 1 commit into from
Sep 16, 2024

Conversation

Zerorigin
Copy link
Contributor

补全realm::conf::net::NetConf 内置函数is_empty遗漏的属性。

realm/src/conf/net.rs

Lines 67 to 73 in d8810e3

fn is_empty(&self) -> bool {
crate::empty![self =>
ipv6_only,
send_proxy, accept_proxy, send_proxy_version, accept_proxy_timeout,
tcp_keepalive, tcp_keepalive_probe, tcp_timeout, udp_timeout
]
}

Copy link
Collaborator

@zephyrchien zephyrchien left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM. Thanks!

@zephyrchien zephyrchien changed the title fix: Omission properties of NetConf.is_empty function fix: missing fields of NetConf::is_empty Sep 16, 2024
@zephyrchien zephyrchien merged commit 52a57a8 into zhboner:master Sep 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants