View | Details | Raw Unified | Return to bug 83339
Collapse All | Expand All

(-)fping/files/patch-02 (-1 / +12 lines)
Lines 1-5 Link Here
1
--- fping.c.orig	Mon Jan 21 02:06:30 2002
1
--- fping.c.orig	Mon Jan 21 02:06:30 2002
2
+++ fping.c	Sat Oct 25 21:33:01 2003
2
+++ fping.c	Tue Jul 12 18:11:30 2005
3
@@ -42,7 +42,6 @@
3
@@ -42,7 +42,6 @@
4
  * IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED
4
  * IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED
5
  * WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE.
5
  * WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE.
Lines 63-68 Link Here
63
 	ident = getpid() & 0xFFFF;
63
 	ident = getpid() & 0xFFFF;
64
 
64
 
65
 	verbose_flag = 1;
65
 	verbose_flag = 1;
66
@@ -502,8 +504,8 @@
67
 			break;
68
 		
69
 		case 'r':
70
-			if( !( retry = ( u_int )atoi( optarg ) ) )
71
-				usage();
72
+			retry = ( u_int )atoi( optarg );
73
+
74
 
75
 			break;
76
 		
66
@@ -823,6 +825,7 @@
77
@@ -823,6 +825,7 @@
67
 
78
 
68
 		while( fgets( line, 132, ping_file ) )
79
 		while( fgets( line, 132, ping_file ) )
(-)fping/files/patch-03 (-36 lines)
Lines 6-47 Link Here
6
 .SH NAME
6
 .SH NAME
7
 fping \- send ICMP ECHO_REQUEST packets to network hosts
7
 fping \- send ICMP ECHO_REQUEST packets to network hosts
8
 .SH SYNOPSIS
8
 .SH SYNOPSIS
9
@@ -79,7 +79,7 @@
10
 
11
 somehost : 91.7 37.0 29.2 - 36.8
12
 
13
-shows the response time in milliseconds for each of the five requests,
14
+shows the response time in microseconds for each of the five requests,
15
 with the "-" indicating that no response was received to the fourth
16
 request.
17
 .IP \fB-d\fR 5
18
@@ -107,7 +107,7 @@
19
 .IP \fB-h\fR 5
20
 Print usage message.
21
 .IP \fB-i\fIn\fR 5
22
-The minimum amount of time (in milliseconds) between sending a ping packet to any target (default is 25).
23
+The minimum amount of time (in microseconds) between sending a ping packet to any target (default is 25).
24
 .IP \fB-l\fR 5
25
 Loop sending packets to each target indefinitely.  Can be interrupted
26
 with ctl-C; statistics about responses for each target are then displayed.
27
@@ -117,7 +117,7 @@
28
 Same as -d.
29
 .IP \fB-p\fR 5
30
 In looping or counting modes (-l, -c, or -C), this parameter sets the
31
-time in milliseconds that
32
+time in microseconds that
33
 .B fping
34
 waits between successive packets to an individual target.  Default is
35
 1000.
36
@@ -131,7 +131,7 @@
37
 .IP \fB-s\fR 5
38
 Print cumulative statistics upon exit.
39
 .IP \fB-t\fIn\fR 5
40
-Initial target timeout in milliseconds (default 500). In the default
41
+Initial target timeout in microseconds (default 2500). In the default
42
 mode, this is the amount of time that 
43
 .B fping
44
 waits for a response to its first request.  Successive timeouts are
45
@@ -152,12 +152,12 @@
9
@@ -152,12 +152,12 @@
46
 example none the less. 
10
 example none the less. 
47
 .nf
11
 .nf

Return to bug 83339