mirror of
https://github.com/SagerNet/sing-tun.git
synced 2025-04-04 04:17:39 +03:00
Reuse InterfaceFinder
This commit is contained in:
parent
f845cffeac
commit
9e1969527e
7 changed files with 26 additions and 56 deletions
|
@ -3,6 +3,7 @@ package tun
|
|||
import (
|
||||
"net/netip"
|
||||
|
||||
"github.com/sagernet/sing/common/control"
|
||||
E "github.com/sagernet/sing/common/exceptions"
|
||||
"github.com/sagernet/sing/common/x/list"
|
||||
)
|
||||
|
@ -40,6 +41,7 @@ type DefaultInterfaceMonitor interface {
|
|||
}
|
||||
|
||||
type DefaultInterfaceMonitorOptions struct {
|
||||
InterfaceFinder control.InterfaceFinder
|
||||
OverrideAndroidVPN bool
|
||||
UnderNetworkExtension bool
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue