[Openvas-commits] r8040 - in trunk/openvas-manager: . src
scm-commit@wald.intevation.org
scm-commit at wald.intevation.org
Wed Jun 16 17:21:33 CEST 2010
Author: mattm
Date: 2010-06-16 17:21:32 +0200 (Wed, 16 Jun 2010)
New Revision: 8040
Modified:
trunk/openvas-manager/ChangeLog
trunk/openvas-manager/src/omp.c
Log:
* src/omp.c (print_report_latex): Note override state in report.
Modified: trunk/openvas-manager/ChangeLog
===================================================================
--- trunk/openvas-manager/ChangeLog 2010-06-16 15:09:41 UTC (rev 8039)
+++ trunk/openvas-manager/ChangeLog 2010-06-16 15:21:32 UTC (rev 8040)
@@ -1,5 +1,9 @@
2010-06-16 Matthew Mundell <matthew.mundell at greenbone.net>
+ * src/omp.c (print_report_latex): Note override state in report.
+
+2010-06-16 Matthew Mundell <matthew.mundell at greenbone.net>
+
* src/omp.c (latex_header): Add override colour.
(print_report_overrides_latex): Add threat to override heading.
Modified: trunk/openvas-manager/src/omp.c
===================================================================
--- trunk/openvas-manager/src/omp.c 2010-06-16 15:09:41 UTC (rev 8039)
+++ trunk/openvas-manager/src/omp.c 2010-06-16 15:21:32 UTC (rev 8040)
@@ -5934,6 +5934,15 @@
total_warnings,
total_notes);
+ if (get_report_data->overrides)
+ fputs ("Overrides are on. When a result has an override, this report"
+ " uses the threat of the override.\\\\\n",
+ out);
+ else
+ fputs ("Overrides are off. Even when a result has an override, this report"
+ " uses the actual threat of the result.\\\\\n",
+ out);
+
const char *levels = get_report_data->levels ? get_report_data->levels
: "hmlgd";
if (get_report_data->search_phrase || strcmp (levels, "hmlgd"))
More information about the Openvas-commits
mailing list