mirror of
https://github.com/ipxe/ipxe
synced 2026-02-14 02:31:26 +03:00
Tweaked retry messages
This commit is contained in:
@@ -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 );
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user