mirror of
https://github.com/shtorm-7/sing-box-extended.git
synced 2026-07-21 23:03:27 +03:00
Fix direct udp
This commit is contained in:
@@ -49,6 +49,7 @@ func NewDirect(ctx context.Context, router adapter.Router, logger log.Logger, ta
|
||||
inbound.udpNat = udpnat.New[netip.AddrPort](options.UDPTimeout, inbound.upstreamContextHandler())
|
||||
inbound.connHandler = inbound
|
||||
inbound.packetHandler = inbound
|
||||
inbound.packetUpstream = inbound.udpNat
|
||||
return inbound
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user