Fix direct udp outbound

This commit is contained in:
世界
2022-07-25 16:18:11 +08:00
parent cc78f0347d
commit 146008a631
5 changed files with 17 additions and 51 deletions
+1 -1
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 {