]> git.ipfire.org Git - thirdparty/ipxe.git/commitdiff
Tweaked retry messages
authorMichael Brown <mcb30@etherboot.org>
Tue, 5 Dec 2006 23:12:54 +0000 (23:12 +0000)
committerMichael Brown <mcb30@etherboot.org>
Tue, 5 Dec 2006 23:12:54 +0000 (23:12 +0000)
src/net/tcp/iscsi.c

index 31d5a1b91ed848e2478b152ec9888cd3d117a6c9..424bbcf4769c4552403c8d027abf9afbbd9918ad 100644 (file)
@@ -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 );
        }
 }