From b21c5ee7805630738a2f0253632fed0b3f1a4c06 Mon Sep 17 00:00:00 2001 From: Dirk Date: Wed, 11 Oct 2023 15:22:46 +0200 Subject: [PATCH] Add IP protocol to debug msg --- testssl.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/testssl.sh b/testssl.sh index 35abcbc..5732d03 100755 --- a/testssl.sh +++ b/testssl.sh @@ -21095,7 +21095,7 @@ get_a_record() { else fatal "Local hostname given but neither 'avahi-resolve', 'dig' nor 'drill' is available." $ERR_DNSBIN fi - [[ -z "$ip4" ]] && debugme echo ".local IP address requested but mDNS resolution failed" + [[ -z "$ip4" ]] && debugme echo ".local IP address requested but mDNS resolution (IPv4) failed" fi if [[ -z "$ip4" ]] && "$HAS_DIG"; then ip4=$(filter_ip4_address $(dig +search $DIG_R +short +timeout=2 +tries=2 $noidnout -t a "$1" 2>/dev/null | awk '/^[0-9]/ { print $1 }')) @@ -21142,7 +21142,7 @@ get_aaaa_record() { else fatal "Local hostname given but neither 'avahi-resolve', 'dig' nor 'drill' is available." $ERR_DNSBIN fi - [[ -z "$ip6" ]] && debugme echo ".local IP address requested but mDNS resolution failed" + [[ -z "$ip6" ]] && debugme echo ".local IP address requested but mDNS resolution (IPv6) failed" fi fi if [[ -z "$ip6" ]]; then