tailscale: adapt to new net/netmon paths

This commit is contained in:
Luke Granger-Brown 2023-04-30 20:45:03 +00:00
parent c7e6337bd0
commit 9951ce7762

View file

@ -7,8 +7,8 @@ tailscale.overrideAttrs (old: {
# Always use the polling monitor on routers. The netlink-based monitor is
# effectively just a wakeup-every-250ms system which causes ridiculously
# high CPU.
rm wgengine/monitor/monitor_linux.go
substituteInPlace wgengine/monitor/monitor_polling.go \
rm net/netmon/netmon_linux.go
substituteInPlace net/netmon/netmon_polling.go \
--replace \
"//go:build (!linux && !freebsd && !windows && !darwin) || android" \
""