Browse Source

Merge "Fix a major logic error"

Zuul 2 months ago
parent
commit
eebb879358
1 changed files with 3 additions and 3 deletions
  1. 3
    3
      service-mgmt/sm-1.0.0/src/sm_failover.c

+ 3
- 3
service-mgmt/sm-1.0.0/src/sm_failover.c View File

@@ -922,13 +922,13 @@ void sm_failover_audit()
922 922
 
923 923
     bool in_transition = false;
924 924
     bool infra_configured = is_infra_configured();
925
-    in_transition = in_transition &&
925
+    in_transition = in_transition ||
926 926
             sm_failover_if_transit_state(_mgmt_interface_info);
927
-    in_transition = in_transition &&
927
+    in_transition = in_transition ||
928 928
             sm_failover_if_transit_state(_oam_interface_info);
929 929
     if( infra_configured )
930 930
     {
931
-        in_transition = in_transition &&
931
+        in_transition = in_transition ||
932 932
             sm_failover_if_transit_state(_infra_interface_info);
933 933
     }
934 934
 

Loading…
Cancel
Save