cmd/tsconnect/wasm: add missing tstun.Wrapper.Start call

It's required as of the recent 5297bd2cff.

Updates #7894
Updates #9394 (sure would be nice)

Change-Id: Id6672408dd8a6c82dba71022c8763e589d789fcd
Signed-off-by: Brad Fitzpatrick <bradfitz@tailscale.com>
pull/9847/head
Brad Fitzpatrick 1 year ago committed by Brad Fitzpatrick
parent cb00eac850
commit cf27761265

@ -125,6 +125,7 @@ func newIPN(jsConfig js.Value) map[string]any {
return ns.DialContextTCP(ctx, dst)
}
sys.NetstackRouter.Set(true)
sys.Tun.Get().Start()
logid := lpc.PublicID
srv := ipnserver.New(logf, logid, sys.NetMon.Get())

Loading…
Cancel
Save