Forráskód Böngészése

import dns field from gw node

abhishek9686 6 hónapja
szülő
commit
aa84d43f1c
1 módosított fájl, 1 hozzáadás és 0 törlés
  1. 1 0
      pro/controllers/users.go

+ 1 - 0
pro/controllers/users.go

@@ -1104,6 +1104,7 @@ func getUserRemoteAccessGwsV1(w http.ResponseWriter, r *http.Request) {
 			}
 
 			gws := userGws[node.Network]
+			extClient.DNS = node.IngressDNS
 			extClient.AllowedIPs = logic.GetExtclientAllowedIPs(extClient)
 			gws = append(gws, models.UserRemoteGws{
 				GwID:              node.ID.String(),