From 6a6d18df6fdaba2b629bd4903f3cd34d7654bfb8 Mon Sep 17 00:00:00 2001 From: david Date: Wed, 25 Feb 2009 17:44:37 +0000 Subject: [PATCH] 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. --- output.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/output.cc b/output.cc index 87b3be09f..6e1e4637d 100644 --- a/output.cc +++ b/output.cc @@ -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)