cmd/tsconnect: fix forgotten API change for wasm

Fix regression from 6e967446e4

Updates #8036

Signed-off-by: Brad Fitzpatrick <bradfitz@tailscale.com>
pull/8113/head
Brad Fitzpatrick 2 years ago committed by Brad Fitzpatrick
parent d27a6e1c53
commit cb2fd5be92

@ -101,7 +101,8 @@ func newIPN(jsConfig js.Value) map[string]any {
sys.Set(store)
dialer := &tsdial.Dialer{Logf: logf}
eng, err := wgengine.NewUserspaceEngine(logf, wgengine.Config{
Dialer: dialer,
Dialer: dialer,
SetSubsystem: sys.Set,
})
if err != nil {
log.Fatal(err)

Loading…
Cancel
Save