Skip to content

daemon: use monotonic clock for age#583

Draft
vincentbernat wants to merge 2 commits into
masterfrom
fix/monotonic-clock
Draft

daemon: use monotonic clock for age#583
vincentbernat wants to merge 2 commits into
masterfrom
fix/monotonic-clock

Conversation

@vincentbernat

Copy link
Copy Markdown
Member

This does not work for SNMP and I don't quite understand what the problem is (the test should be flaky, but it seems it is also way off). Also, it would break existing clients.

Would fix #572.

Fix #572.

However, this break two things:

 - existing client comparing the age to the non-monotonic clock
 - SNMP agent which should report time since start time which is not
   monotonic either
@vincentbernat vincentbernat marked this pull request as draft January 12, 2025 18:34
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.

lldpd can return negative age

1 participant