mirror of
https://github.com/tailscale/tailscale.git
synced 2025-08-13 22:47:30 +00:00
net/tstun: rename NewFakeTUN to NewFake.
Signed-off-by: David Anderson <danderson@tailscale.com>
This commit is contained in:
@@ -333,7 +333,7 @@ func tryEngine(logf logger.Logf, linkMon *monitor.Mon, name string) (e wgengine.
|
||||
}
|
||||
isUserspace = name == "userspace-networking"
|
||||
if isUserspace {
|
||||
conf.TUN = tstun.NewFakeTUN()
|
||||
conf.TUN = tstun.NewFake()
|
||||
conf.Router = router.NewFake(logf)
|
||||
} else {
|
||||
dev, err := tstun.New(logf, name)
|
||||
|
Reference in New Issue
Block a user