wgengine/router: fix up docstring.

Signed-off-by: David Anderson <danderson@tailscale.com>
pull/348/head
David Anderson 5 years ago
parent 1ac570def7
commit 755fd9253c

@ -31,7 +31,8 @@ type Router interface {
Close() error 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) { func New(logf logger.Logf, wgdev *device.Device, tundev tun.Device) (Router, error) {
return newUserspaceRouter(logf, wgdev, tundev) return newUserspaceRouter(logf, wgdev, tundev)
} }

Loading…
Cancel
Save