File tree Expand file tree Collapse file tree 1 file changed +6
-2
lines changed
Expand file tree Collapse file tree 1 file changed +6
-2
lines changed Original file line number Diff line number Diff line change @@ -21966,12 +21966,16 @@ check_proxy() {
2196621966 PROXYNODE="${PROXY%:*}"
2196721967 is_number "$PROXYPORT" || fatal "Proxy port cannot be determined from \"$PROXY\"" $ERR_CMDLINE
2196821968
21969- #FIXME: finish this with IPv6 proxy support, see #1105.
21969+ #FIXME: finish IPv6 proxy support, see #1105.
2197021970 if is_ipv4addr "$PROXYNODE"; then
2197121971 PROXYIP="$PROXYNODE"
2197221972 elif is_ipv6addr "$PROXYNODE"; then
2197321973 # Maybe an option like --proxy6 is better for purists
21974- PROXYIP="[$PROXYNODE]"
21974+ if [[ "$OSSL_NAME" =~ LibreSSL ]]; then
21975+ PROXYIP="$PROXYNODE"
21976+ else
21977+ PROXYIP="[$PROXYNODE]"
21978+ fi
2197521979 else
2197621980 # We check now preferred whether there was an IPv4 proxy via DNS specified
2197721981 # If it fails it could be an IPv6 only proxy via DNS or we just can't reach the proxy
You can’t perform that action at this time.
0 commit comments