Selaa lähdekoodia

assign to ingress gw automatically

abhishek9686 5 kuukautta sitten
vanhempi
commit
6b21e9f4c2
1 muutettua tiedostoa jossa 1 lisäystä ja 0 poistoa
  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
 	}