mirror of
https://github.com/nadoo/glider.git
synced 2026-11-19 07:09:42 +08:00
ss/socks5: fixed a bug in udp mode
This commit is contained in:
1 parent
2c4aa26055
commit
4cb9ea2bdc
2 files changed
+2
-2
No files matched your search
@@ -182,7 +182,7 @@ func (s *Socks5) ListenAndServeUDP() {
|
||||
continue
|
||||
}
|
||||
|
||||
lpc, nextHop, err := s.dialer.DialUDP("udp", c.tgtAddr.String())
|
||||
lpc, nextHop, err := s.proxy.DialUDP("udp", c.tgtAddr.String())
|
||||
if err != nil {
|
||||
log.F("[socks5-udp] remote dial error: %v", err)
|
||||
continue
|
||||
|
||||
Reference in new issue
Block a user