From 7edf6fffdf27352442a06c6a07312e9aadcf3d5c Mon Sep 17 00:00:00 2001 From: Vladislav Bolkhovitin Date: Thu, 22 Oct 2009 16:51:51 +0000 Subject: [PATCH] ISID 0 is perfectly valid. git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@1248 d57e44dd-8a1f-0410-8b47-8ef2f437770f --- iscsi-scst/usr/iscsid.c | 6 ------ 1 file changed, 6 deletions(-) diff --git a/iscsi-scst/usr/iscsid.c b/iscsi-scst/usr/iscsid.c index 7c4ef5933..5e517fdbf 100644 --- a/iscsi-scst/usr/iscsid.c +++ b/iscsi-scst/usr/iscsid.c @@ -453,12 +453,6 @@ static void login_start(struct connection *conn) conn->cid = be16_to_cpu(req->cid); conn->sid.id64 = req->sid.id64; - if (!conn->sid.id64) { - rsp->status_class = ISCSI_STATUS_INITIATOR_ERR; - rsp->status_detail = ISCSI_STATUS_MISSING_FIELDS; - conn->state = STATE_EXIT; - return; - } name = text_key_find(conn, "InitiatorName"); if (!name) {