fping 4.2 (UNRELEASED)
======================
+## New features
+
+- New option -x / --reachable to check if the number of reachable hosts is >= a certain
+ number. Useful for example to implement connectivity-checks (#138, thanks @deepak0004)
+
## Bugfixes and other changes
- Fix build with --disable-ipv6 (#134, thanks @Polynomial-C)
Print B<fping> version information.
-=item B<-x>, B<--min_reachable>=I<N>
+=item B<-x>, B<--reachable>=I<N>
-Given a list of hosts, this mode prints if number of active hosts>=N or not.
+Given a list of hosts, this mode checks if number of reachable hosts is >= N
+and exits true in that case.
=back
{ NULL, 'T', OPTPARSE_REQUIRED },
{ "unreach", 'u', OPTPARSE_NONE },
{ "version", 'v', OPTPARSE_NONE },
- { "min_reachable", 'x', OPTPARSE_REQUIRED },
+ { "reachable", 'x', OPTPARSE_REQUIRED },
{ 0, 0, 0 }
};
fprintf(out, " -s, --stats print final stats\n");
fprintf(out, " -u, --unreach show targets that are unreachable\n");
fprintf(out, " -v, --version show version\n");
- fprintf(out, " -x, --min_reachable=N shows if >=N hosts are reachable or not\n");
+ fprintf(out, " -x, --reachable=N shows if >=N hosts are reachable or not\n");
exit(is_error);
-}
\ No newline at end of file
+}