From d2764d8776a350523084de55de46f97bb6005270 Mon Sep 17 00:00:00 2001 From: Darien Raymond Date: Thu, 26 Jan 2017 20:55:01 +0100 Subject: [PATCH] fix test break --- transport/internet/udp/hub_linux_test.go | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/transport/internet/udp/hub_linux_test.go b/transport/internet/udp/hub_linux_test.go index 36b71b01a..042bf476c 100644 --- a/transport/internet/udp/hub_linux_test.go +++ b/transport/internet/udp/hub_linux_test.go @@ -9,7 +9,6 @@ import ( "v2ray.com/core/common/buf" v2net "v2ray.com/core/common/net" - "v2ray.com/core/proxy" "v2ray.com/core/testing/assert" "v2ray.com/core/transport/internet/internal" . "v2ray.com/core/transport/internet/udp" @@ -23,7 +22,7 @@ func TestHubSocksOption(t *testing.T) { } hub, err := ListenUDP(v2net.LocalHostIP, v2net.Port(0), ListenOption{ - Callback: func(*buf.Buffer, *proxy.SessionInfo) {}, + Callback: func(*buf.Buffer, v2net.Destination, v2net.Destination) {}, ReceiveOriginalDest: true, }) assert.Error(err).IsNil()