Thanks - I've got it built now, but the -i option doesn't work at
   all.

The following should fix this.  Thanks for finding the bug.

2005-07-29  Alfred M. Szmidt  <[EMAIL PROTECTED]>

        * ping.c (main): Store the interval in the variable INTERVAL when
        parsing arguments.

--- ping.c      20 Jun 2005 10:00:54 +0200      1.22
+++ ping.c      29 Jul 2005 18:33:05 +0200      
@@ -159,6 +159,7 @@ main (int argc, char **argv)
          
        case 'i':
          options |= OPT_INTERVAL;
+         interval = atoi (optarg);
          if (interval <= 0)
            error (1, 0, "invalid interval: %i", interval);
          break;


_______________________________________________
Bug-inetutils mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/bug-inetutils

Reply via email to