mirror of
https://github.com/v2fly/v2ray-core.git
synced 2025-01-02 15:36:41 -05:00
fix udp connection mapping
This commit is contained in:
parent
634c4964cc
commit
ac4d92a186
@ -123,7 +123,7 @@ func (this *UDPServer) locateExistingAndDispatch(name string, payload *alloc.Buf
|
||||
}
|
||||
|
||||
func (this *UDPServer) Dispatch(source v2net.Destination, destination v2net.Destination, payload *alloc.Buffer, callback UDPResponseCallback) {
|
||||
destString := source.Address().String() + "-" + destination.NetAddr()
|
||||
destString := source.NetAddr() + "-" + destination.NetAddr()
|
||||
log.Debug("UDP Server: Dispatch request: ", destString)
|
||||
if this.locateExistingAndDispatch(destString, payload) {
|
||||
return
|
||||
|
Loading…
Reference in New Issue
Block a user