summaryrefslogtreecommitdiffstats
path: root/plugins/check_ntp_peer.c
diff options
context:
space:
mode:
authorThomas Guyot-Sionnest <dermoth@users.sourceforge.net>2008-09-02 12:28:04 +0000
committerThomas Guyot-Sionnest <dermoth@users.sourceforge.net>2008-09-02 12:28:04 +0000
commit61485d297811743450c7026abd2c1eaa5d003892 (patch)
treea59d12a3aff9c9d005e3f7e5a90e7c0d838c07f0 /plugins/check_ntp_peer.c
parent8430be0b4b1fe55e15e43bd4980006a412bca77c (diff)
downloadmonitoring-plugins-61485d297811743450c7026abd2c1eaa5d003892.tar.gz
Typo
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@2054 f882894a-f735-0410-b71e-b25c423dba1c
Diffstat (limited to 'plugins/check_ntp_peer.c')
-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 6a4401ca..3add2737 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.