summaryrefslogtreecommitdiffstats
path: root/plugins/check_ntp.c
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/check_ntp.c')
-rw-r--r--plugins/check_ntp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/check_ntp.c b/plugins/check_ntp.c
index 8b49928..99fa9a2 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++;