mirror of
https://github.com/tailscale/tailscale.git
synced 2026-11-26 11:36:26 -08:00
And add site-to-site natlab vmtests for Linux + FreeBSD. Fixes #5573 Updates #18897 Change-Id: I9629f46fdd99137f0ae96431487d3a7410e2a4cc Signed-off-by: Brad Fitzpatrick <[email protected]>
13 lines
330 B
Go
13 lines
330 B
Go
// Copyright (c) Tailscale Inc & contributors
|
|
// SPDX-License-Identifier: BSD-3-Clause
|
|
|
|
package osrouter
|
|
|
|
import "tailscale.com/wgengine/router"
|
|
|
|
func init() {
|
|
router.HookNewUserspaceRouter.Set(func(opts router.NewOpts) (router.Router, error) {
|
|
return newUserspaceBSDRouter(opts.Logf, opts.Tun, opts.NetMon, opts.Health)
|
|
})
|
|
}
|