mirror of
https://github.com/tailscale/tailscale.git
synced 2026-09-22 19:45:15 -04:00
wgengine/router: fix up docstring.
Signed-off-by: David Anderson <danderson@tailscale.com>
This commit is contained in:
1 parent
1ac570def7
commit
755fd9253c
1 file changed
+2
-1
@@ -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)
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user