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

Incorporated server precision indicators into NtpResult #22

Merged
merged 2 commits into from
May 8, 2023

Conversation

rwpenney
Copy link
Contributor

@rwpenney rwpenney commented May 8, 2023

This small patch adds two indicators of the NTP server's accuracy into the NtpResult structure, which may be useful for client applications that need to assemble statistical estimators of the local system's clock-offset. The patch also adjusts the doc-comment on NtpResult.offset to make it clearer the sign of the time offset (i.e. server-local rather than local-server).

src/lib.rs Outdated Show resolved Hide resolved
@vpetrigo
Copy link
Owner

vpetrigo commented May 8, 2023

Thank you for your contribution! I'll prepare a release as soon as possible.

@vpetrigo vpetrigo merged commit 26941a2 into vpetrigo:master May 8, 2023
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