1
0
mirror of https://github.com/nmap/nmap.git synced 2025-12-25 00:49:01 +00:00

Fix a bug in the printing of OS fingerprints. When a perfect match was found,

the value of the SEQ.G test (print suitable for submission) was the opposite of
what it should have been. This doesn't matter much because in the case of a
perfect match the submission URL isn't shown and the print itself is not
normally displayed. We want perfect matches with the new SEQ.CI test and the
online submitter will reject them if G=N.
This commit is contained in:
david
2009-02-25 17:44:37 +00:00
parent 85f4cb66e2
commit 6a6d18df6f

View File

@@ -1656,7 +1656,7 @@ void printosscanoutput(Target *currenths) {
log_write(LOG_PLAIN, "\n");
if (o.debugging || o.verbose > 1)
write_merged_fpr(FPR, currenths, reason != NULL, true);
write_merged_fpr(FPR, currenths, reason == NULL, true);
} else {
/* No perfect matches. */
if ((o.verbose > 1 || o.debugging) && reason)