summaryrefslogtreecommitdiffstats
path: root/plugins/check_ntp.c
diff options
context:
space:
mode:
authorJan Wagner <waja@cyconet.org>2017-01-10 19:33:16 (GMT)
committerJan Wagner <waja@cyconet.org>2017-01-10 19:33:16 (GMT)
commit10fa79a97a5bebe6a69075b266e7388fc2f6f102 (patch)
tree3678efd6c79a33037baa2a133676b141abeeccdb /plugins/check_ntp.c
parent3fc149f4990358a91ca945f8b649a4c511722e73 (diff)
parentdbb92c347e8a19b3fbe33a9160776b7a16ea588b (diff)
downloadmonitoring-plugins-10fa79a97a5bebe6a69075b266e7388fc2f6f102.tar.gz
Merge branch 'spell_fix'
Diffstat (limited to 'plugins/check_ntp.c')
-rw-r--r--plugins/check_ntp.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/check_ntp.c b/plugins/check_ntp.c
index 5ac6c65..914b40c 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