Pārlūkot izejas kodu

assign to ingress gw automatically

abhishek9686 5 mēneši atpakaļ
vecāks
revīzija
6b21e9f4c2
1 mainītis faili ar 1 papildinājumiem un 0 dzēšanām
  1. 1 0
      logic/gateway.go

+ 1 - 0
logic/gateway.go

@@ -190,6 +190,7 @@ func CreateIngressGateway(netid string, nodeid string, ingress models.IngressReq
 	}
 	node.IsIngressGateway = true
 	node.IsGw = true
+	node.IsRelay = true
 	if !servercfg.IsPro {
 		node.IsInternetGateway = ingress.IsInternetGateway
 	}