MSTP stat lost_token_counter was missing a drop case (#421)

Co-authored-by: jzimmen_jcplc <nathan.m.zimmerman@jci.com>
This commit is contained in:
jci-zimm
2023-04-13 20:36:22 -05:00
committed by GitHub
parent 8bea1a33a8
commit 064c6f7f1c
+1
View File
@@ -1135,6 +1135,7 @@ static bool MSTP_Master_Node_FSM(void)
Next_Station = This_Station;
RetryCount = 0;
TokenCount = 0;
Statistics.lost_token_counter++;
/* EventCount = 0; removed in Addendum 135-2004d-8 */
/* find a new successor to TS */
Master_State = MSTP_MASTER_STATE_POLL_FOR_MASTER;