mirror of
https://github.com/SCST-project/scst.git
synced 2026-08-17 20:56:24 +00:00
Logging improved
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@1158 d57e44dd-8a1f-0410-8b47-8ef2f437770f
This commit is contained in:
@@ -517,6 +517,8 @@ static void login_start(struct connection *conn)
|
||||
conn->tid = target->tid;
|
||||
if (config_initiator_access(conn->tid, conn->fd) ||
|
||||
isns_scn_access(conn->tid, conn->fd, name)) {
|
||||
log_info("Initiator %s not allowed to connect to "
|
||||
"target %s", name, target_name);
|
||||
rsp->status_class = ISCSI_STATUS_INITIATOR_ERR;
|
||||
rsp->status_detail = ISCSI_STATUS_TGT_NOT_FOUND;
|
||||
conn->state = STATE_EXIT;
|
||||
|
||||
Reference in New Issue
Block a user