fix bug when judge if state in transition

Change-Id: Ib1f57c588379d63b2f63ce866bed7338dda0bc46
Story: 2006064
Task: 34778
This commit is contained in:
fpxie 2019-04-28 11:01:22 +08:00 committed by fupingxie
parent 160ef92b44
commit 98d4cae416
1 changed files with 1 additions and 1 deletions

View File

@ -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