summaryrefslogtreecommitdiffhomepage
path: root/wgengine/userspace.go
diff options
context:
space:
mode:
authorDavid Crawshaw <crawshaw@tailscale.com>2020-08-25 16:21:29 -0400
committerDavid Crawshaw <crawshaw@tailscale.com>2020-08-25 16:21:41 -0400
commitdcf9d2a3e8ba94ab4571d935cd46d9cc5b32b6c8 (patch)
tree7aec0c9f9f222b5b6358a7549d0f39086acb7ba2 /wgengine/userspace.go
parenta67b174da1fae8f8ae0f1fa17399ce1c785b2f29 (diff)
downloadtailscale-crawshaw/e2etest.tar.xz
tailscale-crawshaw/e2etest.zip
magicsock: call RequestStatus when DERP connectscrawshaw/e2etest
Second attempt. Signed-off-by: David Crawshaw <crawshaw@tailscale.com>
Diffstat (limited to 'wgengine/userspace.go')
-rw-r--r--wgengine/userspace.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/wgengine/userspace.go b/wgengine/userspace.go
index b5c0790af..7f7070b35 100644
--- a/wgengine/userspace.go
+++ b/wgengine/userspace.go
@@ -239,6 +239,7 @@ func newUserspaceEngineAdvanced(conf EngineConfig) (_ Engine, reterr error) {
Logf: logf,
Port: conf.ListenPort,
EndpointsFunc: endpointsFn,
+ DERPActiveFunc: e.RequestStatus,
IdleFunc: e.tundev.IdleDuration,
NoteRecvActivity: e.noteReceiveActivity,
}