fix bug when judge if state in transition
Change-Id: Ib1f57c588379d63b2f63ce866bed7338dda0bc46 Story: 2006064 Task: 34778
This commit is contained in:
parent
160ef92b44
commit
98d4cae416
@ -102,7 +102,7 @@ class SmFailoverInterfaceInfo
|
||||
|
||||
bool state_in_transition() const
|
||||
{
|
||||
return (SM_FAILOVER_STATE_TRANSITION_TIME_IN_MS < this->time_since_last_state_change_ms());
|
||||
return (SM_FAILOVER_STATE_TRANSITION_TIME_IN_MS > this->time_since_last_state_change_ms());
|
||||
}
|
||||
|
||||
int time_since_last_state_change_ms() const
|
||||
|
Loading…
Reference in New Issue
Block a user