Skip to content

Commit 7ddde97

Browse files
authored
Set internal class state to reflect the actual state (sonic-net#2410)
*Set internal class variable to set to STANDBY. *Default value was set to INIT and not modified after setting to standby.
1 parent 8dae356 commit 7ddde97

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

orchagent/muxorch.cpp

+1
Original file line numberDiff line numberDiff line change
@@ -367,6 +367,7 @@ MuxCable::MuxCable(string name, IpPrefix& srv_ip4, IpPrefix& srv_ip6, IpAddress
367367

368368
/* Set initial state to "standby" */
369369
stateStandby();
370+
state_ = MuxState::MUX_STATE_STANDBY;
370371
}
371372

372373
bool MuxCable::stateInitActive()

0 commit comments

Comments
 (0)