mirror of
https://github.com/SagerNet/sing-box.git
synced 2025-04-04 20:37:37 +03:00
Use API to create windows firewall rule
This commit is contained in:
parent
f8d5f01665
commit
01dfba722a
6 changed files with 18 additions and 4 deletions
|
@ -18,6 +18,7 @@ type PlatformInterface interface {
|
|||
CloseDefaultInterfaceMonitor(listener InterfaceUpdateListener) error
|
||||
UsePlatformInterfaceGetter() bool
|
||||
GetInterfaces() (NetworkInterfaceIterator, error)
|
||||
UnderNetworkExtension() bool
|
||||
}
|
||||
|
||||
type TunInterface interface {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue