mirror of
https://github.com/MHSanaei/3x-ui.git
synced 2026-11-17 05:22:49 +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. |
||
|---|---|---|
| .. | ||
| common | ||
| cronspec | ||
| crypto | ||
| json_util | ||
| ldap | ||
| link | ||
| maskcompat | ||
| netproxy | ||
| netsafe | ||
| random | ||
| reflect_util | ||
| sys | ||
| totp | ||
| version | ||
| wirecodec | ||
| wireguard | ||