mirror of
https://github.com/nadoo/glider.git
synced 2026-11-19 07:09:42 +08:00
tproxy: fix ipv6 support (#290)
This commit is contained in:
1 parent
e5031ac8d5
commit
807aebc678
4 files changed
+24
-57
No files matched your search
+1
-1
@@ -25,7 +25,7 @@ func init() {
|
||||
func NewTCP(s string, d proxy.Dialer, p proxy.Proxy) (*TCP, error) {
|
||||
u, err := url.Parse(s)
|
||||
if err != nil {
|
||||
log.F("[tls] parse url err: %s", err)
|
||||
log.F("[tcp] parse url err: %s", err)
|
||||
return nil, err
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user