tailscale: adapt to new net/netmon paths
This commit is contained in:
parent
c7e6337bd0
commit
9951ce7762
1 changed files with 2 additions and 2 deletions
|
@ -7,8 +7,8 @@ tailscale.overrideAttrs (old: {
|
||||||
# Always use the polling monitor on routers. The netlink-based monitor is
|
# Always use the polling monitor on routers. The netlink-based monitor is
|
||||||
# effectively just a wakeup-every-250ms system which causes ridiculously
|
# effectively just a wakeup-every-250ms system which causes ridiculously
|
||||||
# high CPU.
|
# high CPU.
|
||||||
rm wgengine/monitor/monitor_linux.go
|
rm net/netmon/netmon_linux.go
|
||||||
substituteInPlace wgengine/monitor/monitor_polling.go \
|
substituteInPlace net/netmon/netmon_polling.go \
|
||||||
--replace \
|
--replace \
|
||||||
"//go:build (!linux && !freebsd && !windows && !darwin) || android" \
|
"//go:build (!linux && !freebsd && !windows && !darwin) || android" \
|
||||||
""
|
""
|
||||||
|
|
Loading…
Reference in a new issue