From 5ea29cd96d054db86c774cb5e3a9a94db3550ffd Mon Sep 17 00:00:00 2001 From: Folkert van Heusden Date: Sat, 12 Oct 2024 00:12:02 +0200 Subject: [PATCH] must it be here? --- iscsi-pdu.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/iscsi-pdu.cpp b/iscsi-pdu.cpp index f5bb40e..a6a1bc5 100644 --- a/iscsi-pdu.cpp +++ b/iscsi-pdu.cpp @@ -329,6 +329,7 @@ bool iscsi_pdu_login_reply::set(const iscsi_pdu_login_request & reply_to) "TargetPortalGroupTag=1", "AuthMethod=None", "ErrorRecoveryLevel=0", + "InitialR2T=Yes", }; for(const auto & kv : kvs) DOLOG(logging::ll_debug, "iscsi_pdu_login_reply::set", ses->get_endpoint_name(), "send KV \"%s\"", kv.c_str()); @@ -344,7 +345,6 @@ bool iscsi_pdu_login_reply::set(const iscsi_pdu_login_request & reply_to) ses->get_data_digest () ? "DataDigest=CRC32C,None" : "DataDigest=None", "DefaultTime2Wait=2", "DefaultTime2Retain=20", - "InitialR2T=Yes", }; for(const auto & kv : kvs) DOLOG(logging::ll_debug, "iscsi_pdu_login_reply::set", ses->get_endpoint_name(), "send KV \"%s\"", kv.c_str());