mirror of
https://github.com/MHSanaei/3x-ui.git
synced 2026-11-16 21:09:09 +00:00
parseWireguard joined u.Hostname(), which strips IPv6 brackets, with the port, so wireguard://key@[2001:db8::1]:51820 became 2001:db8::1:51820 and Xray's ParseDestination rejected it. The endpoint is now built with net.JoinHostPort, matching the frontend parser; IPv4 and hostname endpoints are unchanged. |
||
|---|---|---|
| .. | ||
| outbound.go | ||
| outbound_fuzz_test.go | ||
| outbound_helpers_test.go | ||
| outbound_test.go | ||