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

@@ -156,7 +156,7 @@ type Config struct {
func NewFakeUserspaceEngine(logf logger.Logf, listenPort uint16) (Engine, error) {
logf("Starting userspace wireguard engine (with fake TUN device)")
return NewUserspaceEngine(logf, Config{
TUN: tstun.NewFakeTUN(),
TUN: tstun.NewFake(),
Router: router.NewFake(logf),
ListenPort: listenPort,
Fake: true,