summaryrefslogtreecommitdiffstats
path: root/plugins/check_ntp_peer.c
diff options
context:
space:
mode:
authorThomas Guyot-Sionnest <dermoth@users.sourceforge.net>2008-11-19 06:45:18 +0000
committerThomas Guyot-Sionnest <dermoth@users.sourceforge.net>2008-11-19 06:45:18 +0000
commitcaa8bd6423e2d0d1b4e72c150e80b9c6a9e1b7fe (patch)
tree118fd80cc8ba27ef695a8e8ce409e5d70f4fa451 /plugins/check_ntp_peer.c
parent16f53e0717b60660145388b0feb351628f606211 (diff)
downloadmonitoring-plugins-caa8bd6423e2d0d1b4e72c150e80b9c6a9e1b7fe.tar.gz
Bulk EOL cleanup
$ git diff --ignore-space-change|diffstat 0 files changed git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@2087 f882894a-f735-0410-b71e-b25c423dba1c
Diffstat (limited to 'plugins/check_ntp_peer.c')
-rw-r--r--plugins/check_ntp_peer.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/check_ntp_peer.c b/plugins/check_ntp_peer.c
index e489a580..17876dd8 100644
--- a/plugins/check_ntp_peer.c
+++ b/plugins/check_ntp_peer.c
@@ -162,7 +162,7 @@ void print_ntp_control_message(const ntp_control_message *p){
162 if(p->op&REM_RESP && p->op&OP_READSTAT){ 162 if(p->op&REM_RESP && p->op&OP_READSTAT){
163 peer=(ntp_assoc_status_pair*)p->data; 163 peer=(ntp_assoc_status_pair*)p->data;
164 for(i=0;i<numpeers;i++){ 164 for(i=0;i<numpeers;i++){
165 printf("\tpeer id %.2x status %.2x", 165 printf("\tpeer id %.2x status %.2x",
166 ntohs(peer[i].assoc), ntohs(peer[i].status)); 166 ntohs(peer[i].assoc), ntohs(peer[i].status));
167 if (PEER_SEL(peer[i].status) >= PEER_INCLUDED){ 167 if (PEER_SEL(peer[i].status) >= PEER_INCLUDED){
168 if(PEER_SEL(peer[i].status) >= PEER_SYNCSOURCE){ 168 if(PEER_SEL(peer[i].status) >= PEER_SYNCSOURCE){
@@ -477,7 +477,7 @@ int process_arguments(int argc, char **argv){
477 {0, 0, 0, 0} 477 {0, 0, 0, 0}
478 }; 478 };
479 479
480 480
481 if (argc < 2) 481 if (argc < 2)
482 usage ("\n"); 482 usage ("\n");
483 483