From 52737c14ac6e411ef768792d03aa985af9d8ed2b Mon Sep 17 00:00:00 2001 From: Brad Fitzpatrick Date: Mon, 27 Sep 2021 20:12:29 -0700 Subject: [PATCH] wgengine/monitor: ignore ipsec link monitor events on iOS/macOS Signed-off-by: Brad Fitzpatrick --- wgengine/monitor/monitor_darwin.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wgengine/monitor/monitor_darwin.go b/wgengine/monitor/monitor_darwin.go index 747d91999..1cd5d71e7 100644 --- a/wgengine/monitor/monitor_darwin.go +++ b/wgengine/monitor/monitor_darwin.go @@ -116,7 +116,7 @@ func (m *darwinRouteMon) skipInterfaceAddrMessage(msg *route.InterfaceAddrMessag if la, ok := addrType(msg.Addrs, unix.RTAX_IFP).(*route.LinkAddr); ok { baseName := strings.TrimRight(la.Name, "0123456789") switch baseName { - case "llw", "awdl", "pdp_ip": + case "llw", "awdl", "pdp_ip", "ipsec": return true } }