From 3c6b6553fb82734d9303beb8728c534f1b5d144e Mon Sep 17 00:00:00 2001 From: Asim Aslam Date: Thu, 3 Oct 2019 18:35:54 +0100 Subject: [PATCH] Use peerAddress as the thing to listen on --- network/default.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/network/default.go b/network/default.go index 78f48fd582..315c8f19b8 100644 --- a/network/default.go +++ b/network/default.go @@ -106,7 +106,7 @@ func newNetwork(opts ...Option) Network { // server is network server server := server.NewServer( server.Id(options.Id), - server.Address(address), + server.Address(peerAddress), server.Advertise(advertise), server.Name(options.Name), server.Transport(tunTransport),