diff options
author | Thomas Guyot-Sionnest <dermoth@users.sourceforge.net> | 2007-12-04 12:28:50 +0000 |
---|---|---|
committer | Thomas Guyot-Sionnest <dermoth@users.sourceforge.net> | 2007-12-04 12:28:50 +0000 |
commit | c1418c9dafba384536595bea2f5f4d256a498d15 (patch) | |
tree | 0b99529ba384e38b867150b27e6b9d1d0549683d /plugins/check_ntp.c | |
parent | 084a9b444fab26b756bc2bf751e93c5494b926f4 (diff) | |
download | monitoring-plugins-c1418c9dafba384536595bea2f5f4d256a498d15.tar.gz |
Comment (Fixed in trunk already)
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/branches/dermoth_ntp_rework@1844 f882894a-f735-0410-b71e-b25c423dba1c
Diffstat (limited to 'plugins/check_ntp.c')
-rw-r--r-- | plugins/check_ntp.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/check_ntp.c b/plugins/check_ntp.c index 38562ac9..164d5190 100644 --- a/plugins/check_ntp.c +++ b/plugins/check_ntp.c | |||
@@ -772,7 +772,7 @@ int main(int argc, char *argv[]){ | |||
772 | alarm (socket_timeout); | 772 | alarm (socket_timeout); |
773 | 773 | ||
774 | offset = offset_request(server_address, &offset_result); | 774 | offset = offset_request(server_address, &offset_result); |
775 | /* check_ntp used to always return if offset_result == STATE_UNKNOWN. | 775 | /* check_ntp used to always return CRITICAL if offset_result == STATE_UNKNOWN. |
776 | * Now we'll only do that is the offset thresholds were set */ | 776 | * Now we'll only do that is the offset thresholds were set */ |
777 | if (do_offset && offset_result == STATE_UNKNOWN) { | 777 | if (do_offset && offset_result == STATE_UNKNOWN) { |
778 | result = STATE_CRITICAL; | 778 | result = STATE_CRITICAL; |