From f18f591bc6ec6a088c9704b28e0299840c6b7061 Mon Sep 17 00:00:00 2001 From: Brad Fitzpatrick Date: Wed, 28 Feb 2024 18:34:22 -0800 Subject: [PATCH] wgengine: plumb the PeerByKey from wgengine to magicsock This was just added in 69f4b459 which doesn't yet use it. This still doesn't yet use it. It just pushes it down deeper into magicsock where it'll used later. Updates #7617 Change-Id: If2f8fd380af150ffc763489e1ff4f8ca2899fac6 Signed-off-by: Brad Fitzpatrick --- wgengine/userspace.go | 1 + 1 file changed, 1 insertion(+) diff --git a/wgengine/userspace.go b/wgengine/userspace.go index ae6f71806..b35e792bd 100644 --- a/wgengine/userspace.go +++ b/wgengine/userspace.go @@ -347,6 +347,7 @@ func NewUserspaceEngine(logf logger.Logf, conf Config) (_ Engine, reterr error) NetMon: e.netMon, ControlKnobs: conf.ControlKnobs, OnPortUpdate: onPortUpdate, + PeerByKeyFunc: e.PeerByKey, } var err error