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:
@@ -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,
|
||||
|
Reference in New Issue
Block a user