mirror of
https://github.com/xcat2/xNBA.git
synced 2024-12-14 07:11:32 +00:00
Tweaked retry messages
This commit is contained in:
parent
9600af14a3
commit
8c3d09c564
@ -1125,9 +1125,10 @@ static void iscsi_closed ( struct tcp_connection *conn, int status ) {
|
||||
|
||||
/* Retry connection if within the retry limit, otherwise fail */
|
||||
if ( ++iscsi->retry_count <= ISCSI_MAX_RETRIES ) {
|
||||
DBG ( "iSCSI %p retrying connection\n", iscsi );
|
||||
tcp_connect ( conn );
|
||||
} else {
|
||||
printf ( "iSCSI retry count exceeded\n" );
|
||||
printf ( "iSCSI %p retry count exceeded\n", iscsi );
|
||||
iscsi_done ( iscsi, status );
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user