mirror of
https://github.com/xcat2/xcat-dep.git
synced 2024-11-21 17:11:45 +00:00
Have fping flush stdout every print to restore expected behavior with a mix of up and down hosts
This commit is contained in:
parent
c440b188fa
commit
6eb62e64ae
@ -1,6 +1,6 @@
|
||||
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-08 16:28:44.000000000 -0500
|
||||
+++ 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++;
|
||||
@ -10,3 +10,11 @@ diff -uNr fping-2.4b2_to/fping.c fping-2.4b2_to_new/fping.c
|
||||
|
||||
}/* IF */
|
||||
|
||||
@@ -1665,6 +1665,7 @@
|
||||
printf( " [<- %s]", inet_ntoa( response_addr.sin_addr ) );
|
||||
|
||||
printf( "\n" );
|
||||
+ fflush(stdout);
|
||||
|
||||
}/* IF */
|
||||
}/* IF */
|
||||
|
Loading…
Reference in New Issue
Block a user