Skip to content

Commit

Permalink
Use peerAddress as the thing to listen on
Browse files Browse the repository at this point in the history
  • Loading branch information
asim committed Oct 3, 2019
1 parent d5658ab commit 3c6b655
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion network/default.go
Original file line number Diff line number Diff line change
Expand Up @@ -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),
Expand Down

0 comments on commit 3c6b655

Please sign in to comment.