From 45c6f98382fe75f854dbb8a9b5c5f0eb3f498be4 Mon Sep 17 00:00:00 2001 From: Dirk Date: Wed, 15 Aug 2018 02:17:14 +0200 Subject: [PATCH] Fix error introduced from previous commit --- testssl.sh | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/testssl.sh b/testssl.sh index 4a16155..959de0c 100755 --- a/testssl.sh +++ b/testssl.sh @@ -12298,11 +12298,7 @@ determine_ip_addresses() { IPADDRs=$(newline_to_spaces "$ip4 $ip6") fi else - if is_ipv4addr "$CMDLINE_IP"; then - IPADDRs=$(newline_to_spaces "$ip4") - else - IPADDRs=$(newline_to_spaces "$ip4 $ip6") - fi + IPADDRs=$(newline_to_spaces "$ip4") fi fi if [[ -z "$IPADDRs" ]]; then