mirror of
https://github.com/SagerNet/sing-box.git
synced 2025-04-03 20:07:36 +03:00
Fix router
This commit is contained in:
parent
8dcafa5b33
commit
a92412ecac
2 changed files with 9 additions and 10 deletions
3
box.go
3
box.go
|
@ -97,8 +97,7 @@ func New(ctx context.Context, options option.Options) (*Box, error) {
|
|||
|
||||
router, err := route.NewRouter(
|
||||
ctx,
|
||||
logFactory.NewLogger("router"),
|
||||
logFactory.NewLogger("dns"),
|
||||
logFactory,
|
||||
common.PtrValueOrDefault(options.Route),
|
||||
common.PtrValueOrDefault(options.DNS),
|
||||
options.Inbounds,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue