mirror of
https://github.com/nadoo/glider.git
synced 2026-11-19 07:09:42 +08:00
socks4: fix compile problem
This commit is contained in:
1 parent
f14c4c7797
commit
fa3a7da859
3 files changed
+13
-4
No files matched your search
@@ -62,9 +62,6 @@ func (s *SOCKS4) Addr() string {
|
||||
return s.addr
|
||||
}
|
||||
|
||||
// NextDialer returns the next dialer.
|
||||
func (s *SOCKS4) NextDialer(dstAddr string) proxy.Dialer { return s.dialer.NextDialer(dstAddr) }
|
||||
|
||||
// Dial connects to the address addr on the network net via the SOCKS4 proxy.
|
||||
func (s *SOCKS4) Dial(network, addr string) (net.Conn, error) {
|
||||
switch network {
|
||||
|
||||
Reference in new issue
Block a user