File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -23284,7 +23284,12 @@ run_mx_all_ips() {
2328423284 determine_ip_addresses || continue
2328523285 if [[ $(count_words "$IPADDRs") -gt 1 ]]; then # we have more than one ipv4 address to check
2328623286 MULTIPLE_CHECKS=true
23287- pr_bold "Testing all IPv4 addresses (port $PORT): "; outln "$IPADDRs"
23287+ if [[ "$HAS_IPv6" ]]; then
23288+ pr_bold "Testing all IP addresses (port $PORT): "
23289+ else
23290+ pr_bold "Testing all IPv4 addresses (port $PORT): "
23291+ fi
23292+ outln "$IPADDRs"
2328823293 for ip in $IPADDRs; do
2328923294 NODEIP="$ip"
2329023295 lets_roll "${STARTTLS_PROTOCOL}"
@@ -25213,7 +25218,12 @@ lets_roll() {
2521325218 determine_ip_addresses
2521425219 if [[ $(count_words "$IPADDRs") -gt 1 ]]; then # we have more than one ipv4 address to check
2521525220 MULTIPLE_CHECKS=true
25216- pr_bold "Testing all IPv4 addresses (port $PORT): "; outln "$IPADDRs"
25221+ if [[ "$HAS_IPv6" ]]; then
25222+ pr_bold "Testing all IP addresses (port $PORT): "
25223+ else
25224+ pr_bold "Testing all IPv4 addresses (port $PORT): "
25225+ fi
25226+ outln "$IPADDRs"
2521725227 for ip in $IPADDRs; do
2521825228 draw_line "-" $((TERM_WIDTH * 2 / 3))
2521925229 outln
You can’t perform that action at this time.
0 commit comments