Add route.default_interface option

This commit is contained in:
世界 committed 2022-07-15 15:00:54 +08:00
1 parent 5a3de62c50
commit 377f3f83a2
12 files changed
+45 -23

No files matched your search

+1
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 {