diff --git a/network/default.go b/network/default.go index 78f48fd5..315c8f19 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),