Update documentation for --enable-ipv6

pull/34/head
David Schweikert 12 years ago
parent 421abc41b1
commit a4ef8142b3

1
.gitignore vendored

@ -20,3 +20,4 @@ src/fping
src/fping6
stamp-h1
doc/fping.8
doc/fping6.8

@ -9,7 +9,7 @@ Current maintainer:
David Schweikert <david@schweikert.ch>
Website:
http://www.fping.org
http://www.fping.org/
Installation
------------
@ -24,12 +24,23 @@ If you want to install fping from source, proceed as follows:
sudo setcap cap_net_raw+ep fping
4. Have a look at the fping(1) manual for usage help
4. Have a look at the fping(8) manual for usage help
(fping -h will also give a minimal help output)
IPv6 support
------------
You can can compile fping with support for IPv6 addresses. A separate binary
is used for that, called fping6. To build it, use ./configure --enable-ipv6
(possibly combined with --enable-ipv4 to also build fping for IPv4). E.g.:
# ./configure --prefix=/usr/local --enable-ipv4 --enable-ipv6
# make
# make install
# sudo setcap cap_net_raw+ep /usr/local/bin/fping*
Credits
-------
Original author: Roland Schemers (schemers@stanford.edu)
Previous maintainer: RL "Bob" Morgan (morgan@stanford.edu)
IPv6 Support: Jeroen Massar (jeroen@unfix.org / jeroen@ipng.nl)
to enable IPV6 compile with -DIPV6
Initial IPv6 Support: Jeroen Massar (jeroen@unfix.org / jeroen@ipng.nl)
Other contributors: see ChangeLog

@ -1,6 +1,17 @@
man_MANS = fping.8
man_MANS =
if IPV4
man_MANS += fping.8
endif
if IPV6
man_MANS += fping6.8
endif
EXTRA_DIST = $(man_MANS) fping.pod README.1992
fping.8: fping.pod
pod2man $< >$@
pod2man -c "" -s 8 -r "fping $(VERSION)" $< >$@
fping6.8: fping.pod
pod2man -c "" -s 8 -r "fping $(VERSION)" -n fping6 $< >$@

@ -5,6 +5,7 @@ fping - send ICMP ECHO_REQUEST packets to network hosts
=head1 SYNOPSIS
B<fping> [ I<options> ] [ I<systems...> ]
B<fping6> [ I<options> ] [ I<systems...> ]
=head1 DESCRIPTION
@ -21,6 +22,9 @@ sending a specified number of pings to a target, or looping indefinitely (as in
B<ping> ). Unlike B<ping>, B<fping> is meant to be used in scripts, so its
output is designed to be easy to parse.
The binary named B<fping6> is the same as B<fping>, except that it uses IPv6
addresses instead of IPv4.
=head1 OPTIONS
=over 5

Loading…
Cancel
Save