mirror of
https://github.com/v2ray/v2ray-core.git
synced 2026-11-25 15:21:44 +00:00
massive refactoring against json config parsing
This commit is contained in:
1 parent
f87ab4713c
commit
e5fa96f814
51 files changed
+424
-586
No files matched your search
+1
-1
@@ -21,7 +21,7 @@ func (this *SocksServer) ListenUDP(port v2net.Port) error {
|
||||
return err
|
||||
}
|
||||
this.udpMutex.Lock()
|
||||
this.udpAddress = v2net.UDPDestination(v2net.IPAddress(this.config.IP()), port)
|
||||
this.udpAddress = v2net.UDPDestination(this.config.Address, port)
|
||||
this.udpConn = conn
|
||||
this.udpMutex.Unlock()
|
||||
|
||||
|
||||
Reference in new issue
Block a user