summaryrefslogtreecommitdiffstats
path: root/plugins/check_ntp_time.c
diff options
context:
space:
mode:
authorBjörn Berg <32747776+MisterMountain@users.noreply.github.com>2023-05-02 07:31:32 (GMT)
committerGitHub <noreply@github.com>2023-05-02 07:31:32 (GMT)
commite14f1ad7c35504b97f81b1b33a5533e57c605fc2 (patch)
treea59d292d928c123ad862776f344918035466c817 /plugins/check_ntp_time.c
parent3dc677e4f1f990e7b26bc714a02608070379cf85 (diff)
parenta4be133f01a231dc45c98aabed35f96d6f826fd7 (diff)
downloadmonitoring-plugins-e14f1ad7c35504b97f81b1b33a5533e57c605fc2.tar.gz
Merge branch 'monitoring-plugins:master' into fix_version_return_code
Diffstat (limited to 'plugins/check_ntp_time.c')
-rw-r--r--plugins/check_ntp_time.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/check_ntp_time.c b/plugins/check_ntp_time.c
index 391b2df..46cc604 100644
--- a/plugins/check_ntp_time.c
+++ b/plugins/check_ntp_time.c
@@ -81,7 +81,7 @@ typedef struct {
81/* this structure holds data about results from querying offset from a peer */ 81/* this structure holds data about results from querying offset from a peer */
82typedef struct { 82typedef struct {
83 time_t waiting; /* ts set when we started waiting for a response */ 83 time_t waiting; /* ts set when we started waiting for a response */
84 int num_responses; /* number of successfully recieved responses */ 84 int num_responses; /* number of successfully received responses */
85 uint8_t stratum; /* copied verbatim from the ntp_message */ 85 uint8_t stratum; /* copied verbatim from the ntp_message */
86 double rtdelay; /* converted from the ntp_message */ 86 double rtdelay; /* converted from the ntp_message */
87 double rtdisp; /* converted from the ntp_message */ 87 double rtdisp; /* converted from the ntp_message */