net/tstun: rename NewFakeTUN to NewFake.

Signed-off-by: David Anderson <danderson@tailscale.com>
This commit is contained in:
David Anderson
2021-03-26 22:46:37 -07:00
parent 588b70f468
commit 82ab7972f4
4 changed files with 5 additions and 7 deletions

View File

@@ -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)