mirror of
https://github.com/nadoo/glider.git
synced 2026-11-19 07:09:42 +08:00
tls, trojan: use 443 as default port if not specified
This commit is contained in:
1 parent
e7ebcbcde5
commit
8495f16a76
11 files changed
+91
-127
No files matched your search
+1
-1
@@ -117,7 +117,7 @@ func ReadAddrString(r io.Reader) (string, error) {
|
||||
return AddrString(atyp, host, port), nil
|
||||
}
|
||||
|
||||
// AddrString returns a addr string inf format "host:port".
|
||||
// AddrString returns a addr string in format of "host:port".
|
||||
func AddrString(atyp Atyp, addr Addr, port Port) string {
|
||||
var host string
|
||||
|
||||
|
||||
Reference in new issue
Block a user