Add route.default_interface option

This commit is contained in:
世界 2022-07-15 11:51:51 +08:00
parent 5a3de62c50
commit 377f3f83a2
No known key found for this signature in database
GPG key ID: CD109927C34A63C4
12 changed files with 45 additions and 23 deletions

View file

@ -14,6 +14,7 @@ type RouteOptions struct {
Rules []Rule `json:"rules,omitempty"`
Final string `json:"final,omitempty"`
AutoDetectInterface bool `json:"auto_detect_interface,omitempty"`
DefaultInterface string `json:"default_interface,omitempty"`
}
func (o RouteOptions) Equals(other RouteOptions) bool {