diff options
| author | Thomas Guyot-Sionnest <dermoth@users.sourceforge.net> | 2008-09-02 12:28:04 +0000 |
|---|---|---|
| committer | Thomas Guyot-Sionnest <dermoth@users.sourceforge.net> | 2008-09-02 12:28:04 +0000 |
| commit | 61485d297811743450c7026abd2c1eaa5d003892 (patch) | |
| tree | a59d12a3aff9c9d005e3f7e5a90e7c0d838c07f0 | |
| parent | 8430be0b4b1fe55e15e43bd4980006a412bca77c (diff) | |
| download | monitoring-plugins-61485d297811743450c7026abd2c1eaa5d003892.tar.gz | |
Typo
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@2054 f882894a-f735-0410-b71e-b25c423dba1c
| -rw-r--r-- | plugins/check_ntp_peer.c | 2 |
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. |
