From fc2272a13e34341d3e09c455e52e1af5eff500fe Mon Sep 17 00:00:00 2001 From: Wolfgang Hottgenroth Date: Sat, 15 Feb 2025 00:12:40 +0100 Subject: [PATCH] ticks --- mib.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/mib.c b/mib.c index 8dc31be..c0625b6 100644 --- a/mib.c +++ b/mib.c @@ -21,7 +21,9 @@ static void mib_hottisntpdcounter(struct agentx_varbind *vb) { - long long ticks = 200169; + static long long ticks = 200169; + + ticks++; agentx_varbind_counter64(vb, ticks); }