[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Q: EAP Message Format
In your previous mail you wrote:
So, as currently specified in draft-08, the length field of the EAP
message format may be either 2 or 4 bytes depending upon the type.
=> no, the text in the draft is buggy but is simpler than your proposal.
Current text is:
o Type (one octet) is present only if the Code field is Request
(1) or Response (2). For other types, the EAP message length
MUST be four octets and the Type and Type_Data fields MUST NOT
be present. ...
The fixed text should be:
o Type (one octet) is present only if the Code field is Request
(1) or Response (2). For other codes, the EAP message length
^^^^^
MUST be four octets and the Type and Type_Data fields MUST NOT
be present. ...
So if the code is not Request or Response the length field *value* is 4
and there is nothing after the length field.
Regards
Francis.Dupont@enst-bretagne.fr