Add support for use with android VPNService

This commit is contained in:
世界 2022-09-05 13:12:29 +08:00
parent f7bed32c6f
commit 8e7957d440
No known key found for this signature in database
GPG key ID: CD109927C34A63C4
4 changed files with 25 additions and 11 deletions

View file

@ -16,6 +16,7 @@ type RouteOptions struct {
Final string `json:"final,omitempty"`
FindProcess bool `json:"find_process,omitempty"`
AutoDetectInterface bool `json:"auto_detect_interface,omitempty"`
OverrideAndroidVPN bool `json:"override_android_vpn,omitempty"`
DefaultInterface string `json:"default_interface,omitempty"`
DefaultMark int `json:"default_mark,omitempty"`
}