Explorar el Código

assign to ingress gw automatically

abhishek9686 hace 5 meses
padre
commit
6b21e9f4c2
Se han modificado 1 ficheros con 1 adiciones y 0 borrados
  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
 	}