iscsi: update the version error message
Change-Id: I3a2488cdd81812f1fce136b97e49eee18b49fbc1 Signed-off-by: GangCao <gang.cao@intel.com> Reviewed-on: https://review.gerrithub.io/c/spdk/spdk/+/456915 Tested-by: SPDK CI Jenkins <sys_sgci@intel.com> Reviewed-by: Jim Harris <james.r.harris@intel.com> Reviewed-by: Shuhei Matsumoto <shuhei.matsumoto.xt@hitachi.com> Reviewed-by: Changpeng Liu <changpeng.liu@intel.com>
This commit is contained in:
parent
679257db88
commit
9aed5fa5b6
@ -1907,8 +1907,8 @@ iscsi_op_login_rsp_init(struct spdk_iscsi_conn *conn,
|
||||
}
|
||||
/* make sure reqh->version_max < ISCSI_VERSION */
|
||||
if (reqh->version_min > ISCSI_VERSION) {
|
||||
SPDK_ERRLOG("unsupported version %d/%d\n", reqh->version_min,
|
||||
reqh->version_max);
|
||||
SPDK_ERRLOG("unsupported version min %d/max %d, expecting %d\n", reqh->version_min,
|
||||
reqh->version_max, ISCSI_VERSION);
|
||||
/* Unsupported version */
|
||||
/* set all reserved flag to zero */
|
||||
rsph->status_class = ISCSI_CLASS_INITIATOR_ERROR;
|
||||
|
Loading…
Reference in New Issue
Block a user