Explorar el Código

avoid setting failvoer as inet client

abhishek9686 hace 4 meses
padre
commit
e2c7a81797
Se han modificado 1 ficheros con 1 adiciones y 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)