mirror of
https://github.com/drwetter/testssl.sh.git
synced 2025-01-03 23:39:45 +01:00
Accept square brackets in supplied IPv6 address
This commit is contained in:
parent
f2303637b9
commit
4722033f40
@ -17172,6 +17172,9 @@ parse_cmd_line() {
|
||||
DNS_VIA_PROXY=true
|
||||
unset CMDLINE_IP
|
||||
fi
|
||||
# normalize any IPv6 address
|
||||
CMDLINE_IP="${CMDLINE_IP//[/}"
|
||||
CMDLINE_IP="${CMDLINE_IP//]/}"
|
||||
;;
|
||||
-n|--nodns|-n=*|--nodns=*)
|
||||
NODNS="$(parse_opt_equal_sign "$1" "$2")"
|
||||
|
Loading…
Reference in New Issue
Block a user