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

Handle different ServerStats packet versions #96

Merged
merged 1 commit into from
Oct 9, 2024
Merged

Conversation

SuperQ
Copy link
Owner

@SuperQ SuperQ commented Oct 9, 2024

Map the different ServerStats versions based on packet type to the latest ServerStats4 version. This allows better forwards and backwards compatibility with different versions of chrony.

Fixes: #82

Map the different ServerStats versions based on packet type to the
latest ServerStats4 version. This allows better forwards and backwards
compatibility with different versions of chrony.

Signed-off-by: SuperQ <[email protected]>
@SuperQ SuperQ merged commit 8a7dc80 into main Oct 9, 2024
5 checks passed
@SuperQ SuperQ deleted the superq/serverstats4 branch October 9, 2024 12:41
SuperQ added a commit that referenced this pull request Oct 27, 2024
* [CHANGE] Update logging to slog #95
* [CHANGE] Only expose serverstats for correct veersions #100
* [ENHANCEMENT] Add support for Chrony >= 4.5 server stats #87 #96

Signed-off-by: SuperQ <[email protected]>
@SuperQ SuperQ mentioned this pull request Oct 27, 2024
SuperQ added a commit that referenced this pull request Oct 27, 2024
* [CHANGE] Update logging to slog #95
* [CHANGE] Only expose serverstats for correct veersions #100
* [ENHANCEMENT] Add support for Chrony >= 4.5 server stats #87 #96

Signed-off-by: SuperQ <[email protected]>
SuperQ added a commit that referenced this pull request Oct 27, 2024
* [CHANGE] Update logging to slog #95
* [CHANGE] Only expose serverstats for correct veersions #100
* [ENHANCEMENT] Add support for Chrony >= 4.5 server stats #87 #96

Signed-off-by: SuperQ <[email protected]>
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.

Serverstats don't work on Chrony 4.5
1 participant