summaryrefslogtreecommitdiff
path: root/net/fping/files/patch-02
diff options
context:
space:
mode:
authorYen-Ming Lee <leeym@FreeBSD.org>2005-07-20 02:25:28 +0000
committerYen-Ming Lee <leeym@FreeBSD.org>2005-07-20 02:25:28 +0000
commitdd665c5eb8724b539cbf78a9c650c9a5e3cc97d5 (patch)
tree2fa59d9727b76a5742a5c0fd6abb35ed9731f7bc /net/fping/files/patch-02
parentPR: (diff)
- allow 0 retries [1]
- remove s/microsecond/millisecond/ [1] - use PLIST_FILES, remove pkg-plist [2] - add SHA256 hash to distinfo [2] PR: [1] ports/83339 [2] ports/83757 Submitted by: [1] Andre Albsmeier <Andre.Albsmeier@siemens.com> [2] Jason Harris <jharris@widomaker.com>
Notes
Notes: svn path=/head/; revision=139639
Diffstat (limited to 'net/fping/files/patch-02')
-rw-r--r--net/fping/files/patch-0213
1 files changed, 12 insertions, 1 deletions
diff --git a/net/fping/files/patch-02 b/net/fping/files/patch-02
index 70bccfff7f28..d9df3f7af3de 100644
--- a/net/fping/files/patch-02
+++ b/net/fping/files/patch-02
@@ -1,5 +1,5 @@
--- fping.c.orig Mon Jan 21 02:06:30 2002
-+++ fping.c Sat Oct 25 21:33:01 2003
++++ fping.c Tue Jul 12 18:11:30 2005
@@ -42,7 +42,6 @@
* IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED
* WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE.
@@ -63,6 +63,17 @@
ident = getpid() & 0xFFFF;
verbose_flag = 1;
+@@ -502,8 +504,8 @@
+ break;
+
+ case 'r':
+- if( !( retry = ( u_int )atoi( optarg ) ) )
+- usage();
++ retry = ( u_int )atoi( optarg );
++
+
+ break;
+
@@ -823,6 +825,7 @@
while( fgets( line, 132, ping_file ) )