From d0b4a09e5973df945b3804fd826e91bbecc1e551 Mon Sep 17 00:00:00 2001 From: Brad Fitzpatrick Date: Tue, 5 Oct 2021 21:57:21 -0700 Subject: [PATCH] fix name of NewUserspaceEngine in error/comment It was renamed some time ago. --- cmd/tailscale/backend.go | 2 +- cmd/tailscale/multitun.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/cmd/tailscale/backend.go b/cmd/tailscale/backend.go index ad7b873..2d21392 100644 --- a/cmd/tailscale/backend.go +++ b/cmd/tailscale/backend.go @@ -97,7 +97,7 @@ func newBackend(dataDir string, jvm *jni.JVM, store *stateStore, settings settin DNS: cb, }) if err != nil { - return nil, fmt.Errorf("runBackend: NewUserspaceEngineAdvanced: %v", err) + return nil, fmt.Errorf("runBackend: NewUserspaceEngine: %v", err) } local, err := ipnlocal.NewLocalBackend(logf, logID.Public().String(), store, engine) if err != nil { diff --git a/cmd/tailscale/multitun.go b/cmd/tailscale/multitun.go index 088d9ea..a7d8fe1 100644 --- a/cmd/tailscale/multitun.go +++ b/cmd/tailscale/multitun.go @@ -12,7 +12,7 @@ import ( // multiTUN implements a tun.Device that supports multiple // underlying devices. This is necessary because Android VPN devices -// have static configurations and wgengine.NewUserspaceEngineAdvanced +// have static configurations and wgengine.NewUserspaceEngine // assumes a single static tun.Device. type multiTUN struct { // devices is for adding new devices.