From 755fd9253cbf69ea2f95052ec3a09d17f9a8efba Mon Sep 17 00:00:00 2001 From: David Anderson Date: Thu, 30 Apr 2020 13:37:30 -0700 Subject: [PATCH] wgengine/router: fix up docstring. Signed-off-by: David Anderson --- wgengine/router/router.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/wgengine/router/router.go b/wgengine/router/router.go index dac043200..e9e9d14c3 100644 --- a/wgengine/router/router.go +++ b/wgengine/router/router.go @@ -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) }