refactor: 使用 netlink 获取默认网卡

This commit is contained in:
adlyq
2022-05-29 15:35:08 +08:00
parent 13e907bbd0
commit 7a8c98cd90
3 changed files with 16 additions and 13 deletions

2
go.mod
View File

@ -61,4 +61,4 @@ require (
replace golang.zx2c4.com/wintun v0.0.0-20211104114900-415007cec224 => github.com/MetaCubeX/wintun-go v0.0.0-20220319102620-bbc5e6b2015e
replace github.com/vishvananda/netlink v1.2.0-beta.0.20220404152918-5e915e014938 => github.com/MetaCubeX/netlink v1.2.0-beta.0.20220428021510-cbf1fc89c622
replace github.com/vishvananda/netlink v1.2.0-beta.0.20220404152918-5e915e014938 => github.com/MetaCubeX/netlink v1.2.0-beta.0.20220529072258-d6853f887820