mirror of
https://github.com/shtorm-7/sing-box-extended.git
synced 2026-07-13 19:27:56 +03:00
Add auto_route and auto_detect_interface for linux
This commit is contained in:
@@ -12,7 +12,7 @@ import (
|
||||
|
||||
func New(router adapter.Router, options option.DialerOptions) N.Dialer {
|
||||
if options.Detour == "" {
|
||||
return NewDefault(options)
|
||||
return NewDefault(router, options)
|
||||
} else {
|
||||
return NewDetour(router, options.Detour)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user