Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/external/bsd/iscsi/dist/src/lib rfc3720 Appendix D. SendTarg...



details:   https://anonhg.NetBSD.org/src/rev/48a11265eebd
branches:  trunk
changeset: 791032:48a11265eebd
user:      mlelstv <mlelstv%NetBSD.org@localhost>
date:      Fri Nov 01 07:53:34 2013 +0000

description:
rfc3720 Appendix D. SendTargets Operation requires that requesting
information for all relevant targets is done with the value 'All'
(upper case A) and some implementations require it.

diffstat:

 external/bsd/iscsi/dist/src/lib/initiator.c |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (21 lines):

diff -r 64e3d81f12de -r 48a11265eebd external/bsd/iscsi/dist/src/lib/initiator.c
--- a/external/bsd/iscsi/dist/src/lib/initiator.c       Fri Nov 01 07:49:00 2013 +0000
+++ b/external/bsd/iscsi/dist/src/lib/initiator.c       Fri Nov 01 07:53:34 2013 +0000
@@ -646,7 +646,7 @@
         text_len = 0;
         text[0] = 0x0;
 
-        PARAM_TEXT_ADD(sess->params, "SendTargets", "all", text, &text_len,
+        PARAM_TEXT_ADD(sess->params, "SendTargets", "All", text, &text_len,
                        DISCOVERY_PHASE_TEXT_LEN, 1, DP_ERROR);
         PARAM_TEXT_PARSE(sess->params, &sess->sess_params.cred, text,
                        text_len, NULL, NULL, DISCOVERY_PHASE_TEXT_LEN, 1,
@@ -749,7 +749,7 @@
        /* Full Feature Phase Negotiation (for SendTargets) */
        text_len = 0;
        text[0] = 0x0;
-       PARAM_TEXT_ADD(sess->params, "SendTargets", "all", text, &text_len,
+       PARAM_TEXT_ADD(sess->params, "SendTargets", "All", text, &text_len,
                DISCOVERY_PHASE_TEXT_LEN, 1, DP_ERROR);
        PARAM_TEXT_PARSE(sess->params, &sess->sess_params.cred, text,
                text_len, NULL, NULL, DISCOVERY_PHASE_TEXT_LEN, 1, DP_ERROR);



Home | Main Index | Thread Index | Old Index