Committed by
Ray Milkey
[ONOS-2450] Fix for HEADER_SIZE error in EAP deserialization
Change-Id: I0486e27b968e354bd82aad10ad568e61c08d567b
Showing
1 changed file
with
1 additions
and
1 deletions
... | @@ -198,7 +198,7 @@ public class EAP extends BasePacket { | ... | @@ -198,7 +198,7 @@ public class EAP extends BasePacket { |
198 | eap.identifier = bb.get(); | 198 | eap.identifier = bb.get(); |
199 | eap.length = bb.getShort(); | 199 | eap.length = bb.getShort(); |
200 | 200 | ||
201 | - checkHeaderLength(length, HEADER_LENGTH + eap.length); | 201 | + checkHeaderLength(length, eap.length); |
202 | 202 | ||
203 | int dataLength; | 203 | int dataLength; |
204 | if (eap.code == REQUEST || eap.code == RESPONSE) { | 204 | if (eap.code == REQUEST || eap.code == RESPONSE) { | ... | ... |
-
Please register or login to post a comment