From 13498970a05ad4b7c3ba6b61bdec5f474bc2b5c2 Mon Sep 17 00:00:00 2001 From: Folkert van Heusden Date: Sat, 12 Oct 2024 14:48:19 +0200 Subject: [PATCH] breaks linux --- iscsi-pdu.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/iscsi-pdu.cpp b/iscsi-pdu.cpp index 9da50d0..6e7ac30 100644 --- a/iscsi-pdu.cpp +++ b/iscsi-pdu.cpp @@ -329,7 +329,6 @@ 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()); @@ -345,6 +344,7 @@ 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());