Fix router

This commit is contained in:
世界
2022-11-28 13:11:07 +08:00
parent 8dcafa5b33
commit a92412ecac
2 changed files with 9 additions and 10 deletions
+1 -2
View File
@@ -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,