diff --git a/testssl.sh b/testssl.sh index d735875..3380ef4 100755 --- a/testssl.sh +++ b/testssl.sh @@ -23134,7 +23134,12 @@ run_mx_all_ips() { determine_ip_addresses || continue if [[ $(count_words "$IPADDRs") -gt 1 ]]; then # we have more than one ipv4 address to check MULTIPLE_CHECKS=true - pr_bold "Testing all IPv4 addresses (port $PORT): "; outln "$IPADDRs" + if [[ "$HAS_IPv6" ]]; then + pr_bold "Testing all IP addresses (port $PORT): " + else + pr_bold "Testing all IPv4 addresses (port $PORT): " + fi + outln "$IPADDRs" for ip in $IPADDRs; do NODEIP="$ip" lets_roll "${STARTTLS_PROTOCOL}" @@ -25055,7 +25060,12 @@ lets_roll() { determine_ip_addresses if [[ $(count_words "$IPADDRs") -gt 1 ]]; then # we have more than one ipv4 address to check MULTIPLE_CHECKS=true - pr_bold "Testing all IPv4 addresses (port $PORT): "; outln "$IPADDRs" + if [[ "$HAS_IPv6" ]]; then + pr_bold "Testing all IP addresses (port $PORT): " + else + pr_bold "Testing all IPv4 addresses (port $PORT): " + fi + outln "$IPADDRs" for ip in $IPADDRs; do draw_line "-" $((TERM_WIDTH * 2 / 3)) outln