From 9be8d6cb5d60c8897966cbf95e55c779eb006ec7 Mon Sep 17 00:00:00 2001 From: David Schweikert Date: Fri, 10 Feb 2017 10:40:42 +0100 Subject: [PATCH] remove references to fping6 --- README.md | 12 +----------- doc/fping.pod | 7 +------ src/fping.c | 5 ----- 3 files changed, 2 insertions(+), 22 deletions(-) diff --git a/README.md b/README.md index f70ad18..64bcaad 100644 --- a/README.md +++ b/README.md @@ -2,7 +2,7 @@ [![Coverage Status](https://coveralls.io/repos/schweikert/fping/badge.svg?branch=develop&service=github)](https://coveralls.io/github/schweikert/fping?branch=develop) [![Coverity Scan Build Status](https://scan.coverity.com/projects/11559/badge.svg?flat=1")](https://scan.coverity.com/projects/schweikert-fping) -# fping 3 +# fping fping is a program to send ICMP echo probes to network hosts, similar to ping, but much better performing when pinging multiple hosts. fping has a long long @@ -36,16 +36,6 @@ If you want to install fping from source, proceed as follows: See: [fping man-page](doc/fping.pod) -## 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) diff --git a/doc/fping.pod b/doc/fping.pod index 0b3917f..65afee1 100644 --- a/doc/fping.pod +++ b/doc/fping.pod @@ -5,7 +5,6 @@ fping - send ICMP ECHO_REQUEST packets to network hosts =head1 SYNOPSIS B [ I ] [ I ] -B [ I ] [ I ] =head1 DESCRIPTION @@ -22,9 +21,6 @@ sending a specified number of pings to a target, or looping indefinitely (as in B ). Unlike B, B is meant to be used in scripts, so its output is designed to be easy to parse. -The binary named B is the same as B, except that it uses IPv6 -addresses instead of IPv4. - =head1 OPTIONS =over 5 @@ -35,8 +31,7 @@ Restrict name resolution and IPs to IPv4 addresses. =item B<-6> -Restrict name resolution and IPs to IPv6 addresses. If the program name is -'fping6' (via a sym-link, for example), then '-6' is implicitly added. +Restrict name resolution and IPs to IPv6 addresses. =item B<-a> diff --git a/src/fping.c b/src/fping.c index 82a5880..674ffbd 100644 --- a/src/fping.c +++ b/src/fping.c @@ -622,11 +622,6 @@ int main(int argc, char** argv) } } - /* if we are called 'fping6', assume '-6' */ - if (strstr(prog, "fping6")) { - hints_ai_family = AF_INET6; - } - /* validate various option settings */ if (ttl > 255) {