This commit is contained in:
世界 2025-02-18 17:30:03 +08:00
parent f2d26f5842
commit 00870d2833
No known key found for this signature in database
GPG key ID: CD109927C34A63C4
17 changed files with 29 additions and 18 deletions

View file

@ -60,7 +60,7 @@ func NewInbound(ctx context.Context, router adapter.Router, logger log.ContextLo
inbound.listener = listener.New(listener.Options{
Context: ctx,
Logger: logger,
Network: options.Network.Build(),
Network: options.Network.Build(option.DefaultIPNetworks),
Listen: options.ListenOptions,
ConnectionHandler: inbound,
PacketHandler: inbound,