Client-Bypass

This commit is contained in:
bjdgyc 2024-04-23 16:59:52 +08:00
parent b313c6fa00
commit 6d3dab6798
1 changed files with 1 additions and 1 deletions

View File

@ -86,7 +86,7 @@ func LinkTunnel(w http.ResponseWriter, r *http.Request) {
}
cSess.CstpDpd = cstpDpd
dtlsPort := "4433"
dtlsPort := "443"
if strings.Contains(base.Cfg.ServerDTLSAddr, ":") {
ss := strings.Split(base.Cfg.ServerDTLSAddr, ":")
dtlsPort = ss[1]