Use peerAddress as the thing to listen on
This commit is contained in:
parent
d5658ab0b0
commit
3c6b6553fb
@ -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),
|
||||
|
Loading…
Reference in New Issue
Block a user