summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--plugins/check_ntp_peer.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/check_ntp_peer.c b/plugins/check_ntp_peer.c
index 6a4401c..3add273 100644
--- a/plugins/check_ntp_peer.c
+++ b/plugins/check_ntp_peer.c
@@ -301,7 +301,7 @@ int ntp_request(const char *host, double *offset, int *offset_result, double *ji
301 DBG(print_ntp_control_message(&req)); 301 DBG(print_ntp_control_message(&req));
302 /* discard obviously invalid packets */ 302 /* discard obviously invalid packets */
303 if (ntohs(req.count) > MAX_CM_SIZE) 303 if (ntohs(req.count) > MAX_CM_SIZE)
304 die(STATE_CRITICAL, "NTP CRITICAL: Invalid paclet received from NTP server\n"); 304 die(STATE_CRITICAL, "NTP CRITICAL: Invalid packet received from NTP server\n");
305 if (LI(req.flags) == LI_ALARM) li_alarm = 1; 305 if (LI(req.flags) == LI_ALARM) li_alarm = 1;
306 /* Each peer identifier is 4 bytes in the data section, which 306 /* Each peer identifier is 4 bytes in the data section, which
307 * we represent as a ntp_assoc_status_pair datatype. 307 * we represent as a ntp_assoc_status_pair datatype.