diff options
Diffstat (limited to 'plugins/check_ntp.c')
-rw-r--r-- | plugins/check_ntp.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/check_ntp.c b/plugins/check_ntp.c index 5ac6c65b..914b40ce 100644 --- a/plugins/check_ntp.c +++ b/plugins/check_ntp.c | |||
@@ -548,7 +548,7 @@ double jitter_request(const char *host, int *status){ | |||
548 | DBG(print_ntp_control_message(&req)); | 548 | DBG(print_ntp_control_message(&req)); |
549 | /* Attempt to read the largest size packet possible */ | 549 | /* Attempt to read the largest size packet possible */ |
550 | req.count=htons(MAX_CM_SIZE); | 550 | req.count=htons(MAX_CM_SIZE); |
551 | DBG(printf("recieving READSTAT response")) | 551 | DBG(printf("receiving READSTAT response")) |
552 | read(conn, &req, SIZEOF_NTPCM(req)); | 552 | read(conn, &req, SIZEOF_NTPCM(req)); |
553 | DBG(print_ntp_control_message(&req)); | 553 | DBG(print_ntp_control_message(&req)); |
554 | /* Each peer identifier is 4 bytes in the data section, which | 554 | /* Each peer identifier is 4 bytes in the data section, which |
@@ -608,7 +608,7 @@ double jitter_request(const char *host, int *status){ | |||
608 | DBG(print_ntp_control_message(&req)); | 608 | DBG(print_ntp_control_message(&req)); |
609 | 609 | ||
610 | req.count = htons(MAX_CM_SIZE); | 610 | req.count = htons(MAX_CM_SIZE); |
611 | DBG(printf("recieving READVAR response...\n")); | 611 | DBG(printf("receiving READVAR response...\n")); |
612 | read(conn, &req, SIZEOF_NTPCM(req)); | 612 | read(conn, &req, SIZEOF_NTPCM(req)); |
613 | DBG(print_ntp_control_message(&req)); | 613 | DBG(print_ntp_control_message(&req)); |
614 | 614 | ||