[liboping-changes] octo's ping library: Changes to 'master'
Florian Forster
octo at verplant.org
Thu Sep 25 02:12:47 CEST 2014
src/mans/oping.pod | 12 ++++++++++++
src/oping.c | 50 +++++++++++++++++++++++++++++++++++++++++++++-----
2 files changed, 57 insertions(+), 5 deletions(-)
New commits:
commit 8557f59b71eb64324dcbb0e470bad9ca5958b2f0
Merge: 4710e54 441f2f6
Author: Florian Forster <ff at octo.it>
Date: Wed Sep 24 17:10:54 2014 -0700
Merge branch 'bp/exit'
Conflicts:
src/mans/oping.pod
src/oping.c
commit 441f2f6f137275321d6bb3d8bfb35f414c580ab6
Author: Florian Forster <ff at octo.it>
Date: Tue Sep 6 21:08:32 2011 -0400
oping: Make the exit status the number of hosts failed.
As far as I know, EXIT_FAILURE is only portable when used as-is, i.e. without
adding anything to it. Especially with "EXIT_FAILURE == -1" we might run into
trouble. I think it's more convenient to just use the number of failed hosts
rather than 1+<num> (on Linux).
commit da49de54bda467c696f4446e6cdfdd8960ca78ed
Author: Barak A. Pearlmutter <barak+git at cs.nuim.ie>
Date: Tue Sep 6 08:03:59 2011 +0100
fiddle with failure threshold messages and comments
commit 64dd469ece6be8ef2a3cff60964290d753af6b7c
Author: Florian Forster <ff at octo.it>
Date: Sun Sep 4 22:51:14 2011 -0400
oping: Implement the "-Z" option.
This makes it possible to configure the threshold for exiting with a non-zero
exit status due to missing replies.
commit 6cf6907d4c76235adfb19ca44ea354c8af254e2e
Author: Barak A. Pearlmutter <barak+git at cs.nuim.ie>
Date: Thu Sep 1 13:22:05 2011 +0100
non-zero process exit status when too many packets are unreturned
The number of unreturned packets in excess of 50% is summed over all
hosts. If this is nonzero, this count plus 1 is the process exit
status.
More information about the liboping-changes
mailing list