wgengine/monitor: ignore ipsec link monitor events on iOS/macOS

Signed-off-by: Brad Fitzpatrick <bradfitz@tailscale.com>
(cherry picked from commit 52737c14ac)
This commit is contained in:
Brad Fitzpatrick 2021-09-27 20:12:29 -07:00
parent c293be6434
commit 56f7013628
1 changed files with 1 additions and 1 deletions

View File

@ -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
}
}