Skip to content

Commit d0b4a09

Browse files
committed
fix name of NewUserspaceEngine in error/comment
It was renamed some time ago.
1 parent a5bed46 commit d0b4a09

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

cmd/tailscale/backend.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,7 @@ func newBackend(dataDir string, jvm *jni.JVM, store *stateStore, settings settin
9797
DNS: cb,
9898
})
9999
if err != nil {
100-
return nil, fmt.Errorf("runBackend: NewUserspaceEngineAdvanced: %v", err)
100+
return nil, fmt.Errorf("runBackend: NewUserspaceEngine: %v", err)
101101
}
102102
local, err := ipnlocal.NewLocalBackend(logf, logID.Public().String(), store, engine)
103103
if err != nil {

cmd/tailscale/multitun.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ import (
1212

1313
// multiTUN implements a tun.Device that supports multiple
1414
// underlying devices. This is necessary because Android VPN devices
15-
// have static configurations and wgengine.NewUserspaceEngineAdvanced
15+
// have static configurations and wgengine.NewUserspaceEngine
1616
// assumes a single static tun.Device.
1717
type multiTUN struct {
1818
// devices is for adding new devices.

0 commit comments

Comments
 (0)