From ac4d92a18669adb0a5a32ed29423e5b905c76c79 Mon Sep 17 00:00:00 2001 From: v2ray Date: Fri, 13 May 2016 19:35:59 -0700 Subject: [PATCH] fix udp connection mapping --- transport/hub/udp_server.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/transport/hub/udp_server.go b/transport/hub/udp_server.go index 2c8c66496..8f7fdf002 100644 --- a/transport/hub/udp_server.go +++ b/transport/hub/udp_server.go @@ -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