mirror of
https://github.com/SagerNet/sing-tun.git
synced 2025-04-05 04:47:41 +03:00
Add tun.UpdateRouteOptions
This commit is contained in:
parent
d0887eabba
commit
f457988090
4 changed files with 67 additions and 7 deletions
1
tun.go
1
tun.go
|
@ -28,6 +28,7 @@ type Tun interface {
|
|||
Name() (string, error)
|
||||
Start() error
|
||||
Close() error
|
||||
UpdateRouteOptions(tunOptions Options) error
|
||||
}
|
||||
|
||||
type WinTun interface {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue