Fix netlink subscription leak

This commit is contained in:
世界
2022-07-31 19:46:38 +08:00
parent 0e0a892b7e
commit b526ab2746
2 changed files with 8 additions and 4 deletions

4
go.mod
View File

@@ -26,6 +26,10 @@ require (
golang.org/x/sys v0.0.0-20220730100132-1609e554cd39
)
// TODO: remove after upstream fixed
// https://github.com/vishvananda/netlink/issues/792
replace github.com/vishvananda/netlink v1.1.0 => github.com/nekohasekai/netlink v0.0.0-20220731114124-553085ab1b31
require (
github.com/ajg/form v1.5.1 // indirect
github.com/cheekybits/genny v1.0.0 // indirect