Add tun.UpdateRouteOptions

This commit is contained in:
世界 2024-12-23 22:17:27 +08:00
parent d0887eabba
commit f457988090
No known key found for this signature in database
GPG key ID: CD109927C34A63C4
4 changed files with 67 additions and 7 deletions

1
tun.go
View file

@ -28,6 +28,7 @@ type Tun interface {
Name() (string, error)
Start() error
Close() error
UpdateRouteOptions(tunOptions Options) error
}
type WinTun interface {