diff --git a/proxy/network_proxy_test.go b/proxy/network_proxy_test.go index 9e38256..9a73548 100644 --- a/proxy/network_proxy_test.go +++ b/proxy/network_proxy_test.go @@ -65,7 +65,7 @@ func (server *TCPEchoServer) Run() { } func (server *TCPEchoServer) LocalAddr() net.Addr { return server.listener.Addr() } -func (server *TCPEchoServer) Close() { server.listener.Addr() } +func (server *TCPEchoServer) Close() { server.listener.Close() } func (server *UDPEchoServer) Run() { go func() {