Explorar o código

avoid setting failvoer as inet client

abhishek9686 hai 4 meses
pai
achega
e2c7a81797
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      logic/egress.go

+ 1 - 1
logic/egress.go

@@ -99,7 +99,7 @@ func isNodeUsingInternetGw(node *models.Node) {
 	if err != nil {
 		return
 	}
-	if host.IsDefault {
+	if host.IsDefault || node.IsFailOver {
 		return
 	}
 	nodeTags := maps.Clone(node.Tags)