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

Signed-off-by: Brad Fitzpatrick <bradfitz@tailscale.com>
pull/2949/head
Brad Fitzpatrick 2021-09-27 20:12:29 -07:00 committed by Brad Fitzpatrick
parent 5263c8d0b5
commit 52737c14ac
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
}
}