david/ipxe
david
/
ipxe
Archived
1
0
Fork 0

Tweaked retry messages

This commit is contained in:
Michael Brown 2006-12-05 23:12:54 +00:00
parent 9600af14a3
commit 8c3d09c564
1 changed files with 2 additions and 1 deletions

View File

@ -1125,9 +1125,10 @@ static void iscsi_closed ( struct tcp_connection *conn, int status ) {
/* Retry connection if within the retry limit, otherwise fail */ /* Retry connection if within the retry limit, otherwise fail */
if ( ++iscsi->retry_count <= ISCSI_MAX_RETRIES ) { if ( ++iscsi->retry_count <= ISCSI_MAX_RETRIES ) {
DBG ( "iSCSI %p retrying connection\n", iscsi );
tcp_connect ( conn ); tcp_connect ( conn );
} else { } else {
printf ( "iSCSI retry count exceeded\n" ); printf ( "iSCSI %p retry count exceeded\n", iscsi );
iscsi_done ( iscsi, status ); iscsi_done ( iscsi, status );
} }
} }