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

Signed-off-by: Brad Fitzpatrick <bradfitz@tailscale.com>
pull/2949/head
Brad Fitzpatrick 3 years ago committed by Brad Fitzpatrick
parent 5263c8d0b5
commit 52737c14ac

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

Loading…
Cancel
Save