diff options
author | Thomas Guyot-Sionnest <dermoth@users.sourceforge.net> | 2007-04-02 07:32:30 +0000 |
---|---|---|
committer | Thomas Guyot-Sionnest <dermoth@users.sourceforge.net> | 2007-04-02 07:32:30 +0000 |
commit | 3315c3f25e3398e766da7ec72589a000be7f9f9d (patch) | |
tree | f46fd3324fb08de93403bc58ef62b9706aca44fe | |
parent | 7856e1ba2b456c9896187230d1bd67a5fdab8942 (diff) | |
download | monitoring-plugins-3315c3f25e3398e766da7ec72589a000be7f9f9d.tar.gz |
Fix byte order in verbose logging
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1671 f882894a-f735-0410-b71e-b25c423dba1c
-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 8b49928a..99fa9a2e 100644 --- a/plugins/check_ntp.c +++ b/plugins/check_ntp.c | |||
@@ -593,7 +593,7 @@ double jitter_request(const char *host, int *status){ | |||
593 | 593 | ||
594 | /* get to the float value */ | 594 | /* get to the float value */ |
595 | if(verbose) { | 595 | if(verbose) { |
596 | printf("parsing jitter from peer %.2x: ", peers[i].assoc); | 596 | printf("parsing jitter from peer %.2x: ", ntohs(peers[i].assoc)); |
597 | } | 597 | } |
598 | startofvalue = strchr(req.data, '='); | 598 | startofvalue = strchr(req.data, '='); |
599 | if(startofvalue != NULL) startofvalue++; | 599 | if(startofvalue != NULL) startofvalue++; |