mirror of
https://github.com/XTLS/Xray-core.git
synced 2026-01-15 07:02:36 +08:00
As identified in issue #4760, PR #4030 commented out lines that set inbound and content tags from routing info before dispatch. This broke domain-based routing for WireGuard connections. The fix adds back these lines (with mutex-protected access) positioned right before the Dispatch call, ensuring routing configuration is properly passed for domain-based routing rules to work. This addresses the feedback that uncommenting those lines fixes routing. Co-authored-by: RPRX <63339210+RPRX@users.noreply.github.com>