wgengine/router: fix up docstring.

Signed-off-by: David Anderson <danderson@tailscale.com>
This commit is contained in:
David Anderson 2020-04-30 13:37:30 -07:00
parent 1ac570def7
commit 755fd9253c

View File

@ -31,7 +31,8 @@ type Router interface {
Close() error
}
// NewUserspaceRouter returns a new Router for the current platform, using the provided tun device.
// New returns a new Router for the current platform, using the
// provided tun device.
func New(logf logger.Logf, wgdev *device.Device, tundev tun.Device) (Router, error) {
return newUserspaceRouter(logf, wgdev, tundev)
}