Coder Social home page Coder Social logo

Comments (4)

asaveljevs avatar asaveljevs commented on July 20, 2024

This is not directly related to this issue, but you might also wish to apply the following patch to fix some typos or outdated information:

$ git diff 85abf34b0a38ca61e2be90b03fe9103879100e37
diff --git a/INSTALL b/INSTALL
index e23597f..286214b 100644
--- a/INSTALL
+++ b/INSTALL
@@ -21,8 +21,8 @@ diffs or instructions to the address given in the `README' so they can
 be considered for the next release.  If at some point `config.cache'
 contains results you don't want to keep, you may remove or edit it.

-   The file `configure.in' is used to create `configure' by a program
-called `autoconf'.  You only need `configure.in' if you want to change
+   The file `configure.ac' is used to create `configure' by a program
+called `autoconf'.  You only need `configure.ac' if you want to change
 it or regenerate `configure' using a newer version of `autoconf'.

 The simplest way to compile this package is:
diff --git a/doc/fping.pod b/doc/fping.pod
index e3296f9..30c6e41 100644
--- a/doc/fping.pod
+++ b/doc/fping.pod
@@ -177,7 +177,7 @@ Show targets that are unreachable.

 =item B<-O> I<n>

-Set the typ of service flag (TOS). I<n> can be either decimal or hexadecimal
+Set the type of service flag (TOS). I<n> can be either decimal or hexadecimal
 (0xh) format. 

 =item B<-v>
diff --git a/src/fping.c b/src/fping.c
index 8316cc3..480d0ae 100644
--- a/src/fping.c
+++ b/src/fping.c
@@ -1410,7 +1410,7 @@ int send_ping( int s, HOST_ENTRY *h )
     char *buffer;
     FPING_ICMPHDR *icp;
     int n;
-        int myseq;
+    int myseq;

     buffer = ( char* )malloc( ( size_t )ping_pkt_size );
     if( !buffer )

from fping.

asaveljevs avatar asaveljevs commented on July 20, 2024

A similar problem with trying to ping valid hosts:

$ fping6 -C3 www.google.com
www.google.com : 0.00 - -

The problem with sending packets in this case is the following:

$ fping6 www.google.com
www.google.com error while sending ping: Network is unreachable

from fping.

schweikert avatar schweikert commented on July 20, 2024

Thank you very much for the bug report. I really appreciate the effort that you put into analyzing the issue and reporting it.

I have fixed the issue in a slightly different way. Can you maybe test, if it works for you?

I have created a test release: http://fping.org/dist/beta/fping-3.9-rc1.tar.gz

from fping.

asaveljevs avatar asaveljevs commented on July 20, 2024

Thank you for the fix! I have reviewed it and it seems to work.

from fping.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.