https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=14406

--- Comment #3 from Trotters <gledessprede...@hotmail.no> ---
(In reply to Trotters from comment #2)
> Created attachment 16131 [details]
> A correct EAP SUCCESS packet

For clarification:

AFAIK there are three mandatory fields (EAP CODE, EAP ID, EAP LENGTH), and one
optional (EAP DATA) in an EAP packet.

As a result, the shortest EAP LENGTH possible = 4 bytes.
(1 byte EAP CODE + 1 byte EAP ID + 2 bytes EAP LENGTH + 0 or more bytes EAP
DATA)

The contents of EAP DATA depends on the EAP CODE. For a code 3 (EAP SUCCESS)
there is no EAP DATA, so EAP LENGTH for EAP SUCCESS should always be 4 bytes.

-- 
You are receiving this mail because:
You are watching all bug changes.
___________________________________________________________________________
Sent via:    Wireshark-bugs mailing list <wireshark-bugs@wireshark.org>
Archives:    https://www.wireshark.org/lists/wireshark-bugs
Unsubscribe: https://www.wireshark.org/mailman/options/wireshark-bugs
             mailto:wireshark-bugs-requ...@wireshark.org?subject=unsubscribe

Reply via email to