Revert LRU cache changes

This commit is contained in:
世界 2023-04-19 23:43:14 +08:00
parent d744d03d93
commit 9c6e70b7cc
No known key found for this signature in database
GPG key ID: CD109927C34A63C4
6 changed files with 8 additions and 11 deletions

View file

@ -29,7 +29,7 @@ func NewUDPForwarder(ctx context.Context, stack *stack.Stack, handler Handler, u
return &UDPForwarder{
ctx: ctx,
stack: stack,
udpNat: udpnat.New[netip.AddrPort](ctx, udpTimeout, handler),
udpNat: udpnat.New[netip.AddrPort](udpTimeout, handler),
}
}