فهرست منبع

import dns field from gw node

abhishek9686 6 ماه پیش
والد
کامیت
aa84d43f1c
1فایلهای تغییر یافته به همراه1 افزوده شده و 0 حذف شده
  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(),