mirror of
https://github.com/vanhoefm/fragattacks.git
synced 2025-01-19 03:14:05 -05:00
mka: Fix READY to ABANDON logic in CP state machine
Per IEEE Std 802.1X-2010, Figure 12-2 (CP state machine), READY should move to ABANDON (not RECEIVE) when new_sak or changed_connect is true. Signed-off-by: Michael Siedzik <msiedzik@extremenetworks.com>
This commit is contained in:
parent
3dce43ba5f
commit
8ae29b4e9c
@ -410,7 +410,7 @@ SM_STEP(CP)
|
|||||||
|
|
||||||
case CP_READY:
|
case CP_READY:
|
||||||
if (sm->new_sak || changed_connect(sm))
|
if (sm->new_sak || changed_connect(sm))
|
||||||
SM_ENTER(CP, RECEIVE);
|
SM_ENTER(CP, ABANDON);
|
||||||
if (sm->server_transmitting)
|
if (sm->server_transmitting)
|
||||||
SM_ENTER(CP, TRANSMIT);
|
SM_ENTER(CP, TRANSMIT);
|
||||||
break;
|
break;
|
||||||
|
Loading…
Reference in New Issue
Block a user