Merge "fix bug when judge if state in transition"

This commit is contained in:
Zuul 2019-07-02 16:08:04 +00:00 committed by Gerrit Code Review
commit 0d7a269bc7
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