浏览代码

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(),