[Openvas-commits] r6154 - in trunk/openvas-manager: . src

scm-commit@wald.intevation.org scm-commit at wald.intevation.org
Wed Dec 16 22:52:57 CET 2009


Author: mattm
Date: 2009-12-16 22:52:54 +0100 (Wed, 16 Dec 2009)
New Revision: 6154

Modified:
   trunk/openvas-manager/ChangeLog
   trunk/openvas-manager/src/otp.c
Log:
	* src/otp.c (process_otp_scanner_input): In SCANNER_SERVER correct
	scanner state for "DEBUG".

Modified: trunk/openvas-manager/ChangeLog
===================================================================
--- trunk/openvas-manager/ChangeLog	2009-12-16 21:50:05 UTC (rev 6153)
+++ trunk/openvas-manager/ChangeLog	2009-12-16 21:52:54 UTC (rev 6154)
@@ -1,5 +1,10 @@
 2009-12-16  Matthew Mundell <matthew.mundell at intevation.de>
 
+	* src/otp.c (process_otp_scanner_input): In SCANNER_SERVER correct
+	scanner state for "DEBUG".
+
+2009-12-16  Matthew Mundell <matthew.mundell at intevation.de>
+
 	Add message counts to GET_REPORT XML response.
 
 	* src/tasks_sql.h (REPORT_COUNT): Take report arg instead of using

Modified: trunk/openvas-manager/src/otp.c
===================================================================
--- trunk/openvas-manager/src/otp.c	2009-12-16 21:50:05 UTC (rev 6153)
+++ trunk/openvas-manager/src/otp.c	2009-12-16 21:52:54 UTC (rev 6154)
@@ -2193,7 +2193,7 @@
                 if (strcasecmp ("BYE", field) == 0)
                   set_scanner_state (SCANNER_BYE);
                 else if (strcasecmp ("DEBUG", field) == 0)
-                  set_scanner_state (SCANNER_HOLE_HOST);
+                  set_scanner_state (SCANNER_DEBUG_HOST);
                 else if (strcasecmp ("ERROR", field) == 0)
                   {
                     set_scanner_state (SCANNER_ERROR);



More information about the Openvas-commits mailing list