From 7ddde97483508e0b5c9c18872da67767ae7d1814 Mon Sep 17 00:00:00 2001 From: Prince Sunny Date: Wed, 10 Aug 2022 13:12:50 -0700 Subject: [PATCH] Set internal class state to reflect the actual state (#2410) *Set internal class variable to set to STANDBY. *Default value was set to INIT and not modified after setting to standby. --- orchagent/muxorch.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/orchagent/muxorch.cpp b/orchagent/muxorch.cpp index baa0495a60b0..afc5ec412055 100644 --- a/orchagent/muxorch.cpp +++ b/orchagent/muxorch.cpp @@ -367,6 +367,7 @@ MuxCable::MuxCable(string name, IpPrefix& srv_ip4, IpPrefix& srv_ip6, IpAddress /* Set initial state to "standby" */ stateStandby(); + state_ = MuxState::MUX_STATE_STANDBY; } bool MuxCable::stateInitActive()