mirror of
https://github.com/tailscale/tailscale.git
synced 2025-04-26 02:30:57 +00:00
wgengine/monitor: ignore ipsec link monitor events on iOS/macOS
Signed-off-by: Brad Fitzpatrick <bradfitz@tailscale.com> (cherry picked from commit 52737c14ac6e411ef768792d03aa985af9d8ed2b)
This commit is contained in:
parent
c293be6434
commit
56f7013628
@ -116,7 +116,7 @@ func (m *darwinRouteMon) skipInterfaceAddrMessage(msg *route.InterfaceAddrMessag
|
|||||||
if la, ok := addrType(msg.Addrs, unix.RTAX_IFP).(*route.LinkAddr); ok {
|
if la, ok := addrType(msg.Addrs, unix.RTAX_IFP).(*route.LinkAddr); ok {
|
||||||
baseName := strings.TrimRight(la.Name, "0123456789")
|
baseName := strings.TrimRight(la.Name, "0123456789")
|
||||||
switch baseName {
|
switch baseName {
|
||||||
case "llw", "awdl", "pdp_ip":
|
case "llw", "awdl", "pdp_ip", "ipsec":
|
||||||
return true
|
return true
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user