mirror of
https://github.com/nadoo/glider.git
synced 2026-11-19 07:09:42 +08:00
proxy: drop tcptun and udptun, use tcp and udp instead
This commit is contained in:
1 parent
adfb2fb9b4
commit
c9f3c20bc1
15 files changed
+49
-267
No files matched your search
+1
-1
@@ -108,7 +108,7 @@ func (s *SS) ListenAndServeUDP() {
|
||||
var pc *PktConn
|
||||
v, ok := nm.Load(raddr.String())
|
||||
if !ok && v == nil {
|
||||
lpc, nextHop, err := s.proxy.DialUDP("udp", c.tgtAddr.String())
|
||||
lpc, _, nextHop, err := s.proxy.DialUDP("udp", c.tgtAddr.String())
|
||||
if err != nil {
|
||||
log.F("[ssu] remote dial error: %v", err)
|
||||
continue
|
||||
|
||||
Reference in new issue
Block a user