mirror of
https://gitclone.com/github.com/MetaCubeX/Clash.Meta
synced 2025-02-22 21:13:14 +08:00
chore: sync internal interface
This commit is contained in:
parent
781b783346
commit
33823f1728
@ -13,6 +13,11 @@ type defaultInterfaceFinder struct{}
|
||||
|
||||
var DefaultInterfaceFinder control.InterfaceFinder = (*defaultInterfaceFinder)(nil)
|
||||
|
||||
func (f *defaultInterfaceFinder) Update() error {
|
||||
iface.FlushCache()
|
||||
return nil
|
||||
}
|
||||
|
||||
func (f *defaultInterfaceFinder) Interfaces() []control.Interface {
|
||||
ifaces, err := iface.Interfaces()
|
||||
if err != nil {
|
||||
|
Loading…
Reference in New Issue
Block a user