Skip to content

Commit 279bc4a

Browse files
committed
Fix additional parameter in shouldwedo_ipv6()
.... for connectivity_problem() which may block testssl.sh
1 parent f14e245 commit 279bc4a

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

testssl.sh

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -22383,7 +22383,7 @@ shouldwedo_ipv6() {
2238322383
# was killed, so this got stuck
2238422384
IPv6_OK=false
2238522385
"$do_ipv6_only" && connectivity_problem 1 1 "" "IPv6 connect got stuck when IPv6-only scan requested"
22386-
do_ipv6_only=false # this ensures we have round brackets and we don't try IPv6 anymore
22386+
do_ipv6_only=false # Ensures round brackets enclosing IPv6 addresses and we don't try IPv6 anymore
2238722387
else
2238822388
# we're trying in the foreground again, only to get the return code
2238922389
bash -c "exec 5<>/dev/tcp/$1/$PORT" &>/dev/null
@@ -22392,9 +22392,9 @@ shouldwedo_ipv6() {
2239222392
else
2239322393
IPv6_OK=false
2239422394
if "$do_ipv6_only"; then
22395-
connectivity_problem 2 2 $MAX_SOCKET_FAIL "" "repeated IPv6 connect problems when IPv6-only scan requested"
22395+
connectivity_problem 2 2 "" "repeated IPv6 connect problems when IPv6-only scan requested"
2239622396
else
22397-
do_ipv6_only=false #FIXME: wrong variable. It ensures we have round brackets enclosing IPv6 addresses + we don't try it anymore
22397+
do_ipv6_only=false # Ensures round brackets for IPv6 addresses + we don't try IPv6 anymore. Better other var
2239822398
fi
2239922399
fi
2240022400
fi

0 commit comments

Comments
 (0)