From f2686a441a007734f89131321f57d47fab705839 Mon Sep 17 00:00:00 2001 From: Steve Karg Date: Tue, 16 Jul 2024 15:18:54 -0500 Subject: [PATCH] updating the MSTP zero config transition names (#698) --- src/bacnet/datalink/mstp.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/bacnet/datalink/mstp.c b/src/bacnet/datalink/mstp.c index 63770cae..af26b5b3 100644 --- a/src/bacnet/datalink/mstp.c +++ b/src/bacnet/datalink/mstp.c @@ -1419,7 +1419,7 @@ static void MSTP_Zero_Config_State_Idle(struct mstp_port_struct_t *mstp_port) } else if (mstp_port->Zero_Config_Silence > 0) { if (mstp_port->SilenceTimer((void *)mstp_port) > mstp_port->Zero_Config_Silence) { - /* ClaimAddress */ + /* IdleTimeout */ /* long silence indicates we are alone or with other silent devices */ /* claim the token at the current zero-config address */ @@ -1487,6 +1487,7 @@ static void MSTP_Zero_Config_State_Lurk(struct mstp_port_struct_t *mstp_port) } else if (mstp_port->Zero_Config_Silence > 0) { if (mstp_port->SilenceTimer((void *)mstp_port) > mstp_port->Zero_Config_Silence) { + /* LurkingTimeout */ mstp_port->Zero_Config_State = MSTP_ZERO_CONFIG_STATE_IDLE; } }