1
0
mirror of https://github.com/nmap/nmap.git synced 2025-12-06 04:31:29 +00:00

Fix an inaccurate comment.

We care about closed UDP ports for OS detection, not open.
This commit is contained in:
david
2011-08-16 17:44:16 +00:00
parent 1ea9bc4480
commit 3731a3cb29

View File

@@ -170,7 +170,7 @@ const char *FingerPrintResults::OmitSubmissionFP() {
if (osscan_closedudpport < 0 && !o.udpscan) { if (osscan_closedudpport < 0 && !o.udpscan) {
/* If we didn't get a U1 response, that might be just /* If we didn't get a U1 response, that might be just
because we didn't search for an open port rather than because we didn't search for an closed port rather than
because this OS doesn't respond to that sort of probe. because this OS doesn't respond to that sort of probe.
So we don't print FP if U1 response is lacking AND no UDP So we don't print FP if U1 response is lacking AND no UDP
scan was performed. */ scan was performed. */