2
0
mirror of https://github.com/xcat2/xcat-dep.git synced 2024-11-27 19:59:19 +00:00
xcat-dep/fping/fping.patch

21 lines
506 B
Diff

diff -uNr fping-2.4b2_to/fping.c fping-2.4b2_to_new/fping.c
--- fping-2.4b2_to/fping.c 2001-07-20 13:10:26.000000000 -0400
+++ fping-2.4b2_to_new/fping.c 2008-02-11 10:11:32.000000000 -0500
@@ -1574,7 +1574,7 @@
if( handle_random_icmp( icp, result, &response_addr ) )
num_othericmprcvd++;
- return 1;
+ return 0;
}/* IF */
@@ -1665,6 +1665,7 @@
printf( " [<- %s]", inet_ntoa( response_addr.sin_addr ) );
printf( "\n" );
+ fflush(stdout);
}/* IF */
}/* IF */