[Openvas-commits] r1413 - in trunk/openvas-libraries: . libopenvas

scm-commit@wald.intevation.org scm-commit at wald.intevation.org
Tue Sep 23 21:57:02 CEST 2008


Author: jan
Date: 2008-09-23 21:57:02 +0200 (Tue, 23 Sep 2008)
New Revision: 1413

Modified:
   trunk/openvas-libraries/ChangeLog
   trunk/openvas-libraries/libopenvas/ntp.h
   trunk/openvas-libraries/libopenvas/scanners_utils.c
Log:
* libopenvas/ntp.h: Removed elements "scan_ids",
"dns" and "pubkey_auth" from struct ntp_caps.

* libopenvas/scanners_utils.c (comm_send_status): Removed
unneeded variable declaration.



Modified: trunk/openvas-libraries/ChangeLog
===================================================================
--- trunk/openvas-libraries/ChangeLog	2008-09-23 19:30:51 UTC (rev 1412)
+++ trunk/openvas-libraries/ChangeLog	2008-09-23 19:57:02 UTC (rev 1413)
@@ -1,5 +1,13 @@
 2008-09-23  Jan-Oliver Wagner <jan-oliver.wagner at intevation.de>
 
+	* libopenvas/ntp.h: Removed elements "scan_ids",
+	"dns" and "pubkey_auth" from struct ntp_caps.
+
+	* libopenvas/scanners_utils.c (comm_send_status): Removed
+	unneeded variable declaration.
+
+2008-09-23  Jan-Oliver Wagner <jan-oliver.wagner at intevation.de>
+
 	* libopenvas/ntp.h: Removed elements "md5_caching",
 	"ntp_11", "plugins_oid", and "plugins_version" from
 	struct ntp_caps.

Modified: trunk/openvas-libraries/libopenvas/ntp.h
===================================================================
--- trunk/openvas-libraries/libopenvas/ntp.h	2008-09-23 19:30:51 UTC (rev 1412)
+++ trunk/openvas-libraries/libopenvas/ntp.h	2008-09-23 19:57:02 UTC (rev 1413)
@@ -30,11 +30,6 @@
 
 typedef struct {
   int ntp_version; /*  NTP_VERSION, as defined in ntp.h */
-  int scan_ids:1;  /*  TRUE, if HOLE and INFO messages should
-                       contain scan ID's. */
-  int pubkey_auth:1; /* TRUE if the client wants to use public key
-                        authentification */
-  int dns:1; /* send the host name and host ip */
 } ntp_caps;
 
 #endif

Modified: trunk/openvas-libraries/libopenvas/scanners_utils.c
===================================================================
--- trunk/openvas-libraries/libopenvas/scanners_utils.c	2008-09-23 19:30:51 UTC (rev 1412)
+++ trunk/openvas-libraries/libopenvas/scanners_utils.c	2008-09-23 19:57:02 UTC (rev 1413)
@@ -42,7 +42,6 @@
  struct arglist * prefs = arg_get_value(globals,"preferences");
  char * pref = arg_get_value(prefs, "ntp_short_status");
  int short_status;
- ntp_caps* caps = arg_get_value(globals, "ntp_caps");
  int soc = (int)arg_get_value(globals, "global_socket");
  char buffer[2048];
 



More information about the Openvas-commits mailing list