mirror of
https://github.com/tailscale/tailscale.git
synced 2025-01-05 14:57:49 +00:00
wgengine/router: fix up docstring.
Signed-off-by: David Anderson <danderson@tailscale.com>
This commit is contained in:
parent
1ac570def7
commit
755fd9253c
@ -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)
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user