tests: Comment which netcat version the opts are for.
Acked-by: Flavio Leitner
@@ -152,8 +152,10 @@ find_command nc
# Determine correct netcat option to quit on stdin EOF
if nc --version 2>&1 | grep -q nmap.org; then
+ # Nmap netcat
NC_EOF_OPT="--send-only -w 5"
else
+ # BSD netcat
NC_EOF_OPT="-q 1 -w 5"
fi
