Set server name to the correct value.

This commit is contained in:
Milos Gajdos 2019-08-21 19:22:50 +01:00
parent e1599b0f17
commit db89fc4efe
No known key found for this signature in database
GPG Key ID: 8B31058CC55DFD4F

View File

@ -64,7 +64,7 @@ func newNetwork(opts ...Option) Network {
// srv is network server // srv is network server
srv := server.NewServer( srv := server.NewServer(
server.Name(DefaultName), server.Name(options.Name),
server.Transport(tunTransport), server.Transport(tunTransport),
) )