From 2daab6ceb2af869e5d36a256a1f41127b9cfe066 Mon Sep 17 00:00:00 2001 From: david Date: Fri, 30 Sep 2011 05:58:48 +0000 Subject: [PATCH] Also show the match index in debugging OS output. --- FPEngine.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/FPEngine.cc b/FPEngine.cc index 48d323228..57130dad2 100644 --- a/FPEngine.cc +++ b/FPEngine.cc @@ -950,7 +950,7 @@ static void classify(FingerPrintResultsIPv6 *FPR) { if (labels[i].prob >= 0.90 * labels[0].prob) FPR->num_perfect_matches = i + 1; if (o.debugging > 2) - printf("%7.4f %s\n", FPR->accuracy[i] * 100, FPR->matches[i]->OS_name); + printf("%7.4f %3u %s\n", FPR->accuracy[i] * 100, labels[i].label, FPR->matches[i]->OS_name); } if (FPR->num_perfect_matches == 0) { FPR->overall_results = OSSCAN_NOMATCHES;