Fix direct udp outbound

This commit is contained in:
世界
2022-07-25 16:01:10 +08:00
parent 18bdfbf187
commit 6bac91c849
5 changed files with 17 additions and 51 deletions

View File

@@ -69,7 +69,7 @@ func (d *ResolveDialer) ListenPacket(ctx context.Context, destination M.Socksadd
if err != nil {
return nil, err
}
return NewResolvePacketConn(d.router, d.strategy, conn), nil
return NewResolvePacketConn(ctx, d.router, d.strategy, conn), nil
}
func (d *ResolveDialer) Upstream() any {