Pārlūkot izejas kodu

avoid setting failvoer as inet client

abhishek9686 4 mēneši atpakaļ
vecāks
revīzija
e2c7a81797
1 mainītis faili ar 1 papildinājumiem un 1 dzēšanām
  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)