[Openvas-commits] r1479 - in trunk/openvas-server: . openvasd
scm-commit@wald.intevation.org
scm-commit at wald.intevation.org
Wed Oct 1 16:12:13 CEST 2008
Author: mwiegand
Date: 2008-10-01 16:12:13 +0200 (Wed, 01 Oct 2008)
New Revision: 1479
Modified:
trunk/openvas-server/ChangeLog
trunk/openvas-server/openvasd/oval_plugins.c
Log:
* openvasd/oval_plugins.c: Changed to set OIDs exclusively; setting IDs
as a workaround for NTP is no longer required.
Modified: trunk/openvas-server/ChangeLog
===================================================================
--- trunk/openvas-server/ChangeLog 2008-10-01 14:07:21 UTC (rev 1478)
+++ trunk/openvas-server/ChangeLog 2008-10-01 14:12:13 UTC (rev 1479)
@@ -1,5 +1,10 @@
2008-10-01 Michael Wiegand <michael.wiegand at intevation.de>
+ * openvasd/oval_plugins.c: Changed to set OIDs exclusively; setting IDs
+ as a workaround for NTP is no longer required.
+
+2008-10-01 Michael Wiegand <michael.wiegand at intevation.de>
+
* doc/otp_specification_10.txt: Removed; the specification for OTP has
been updated and moved to the OpenVAS compendium.
Modified: trunk/openvas-server/openvasd/oval_plugins.c
===================================================================
--- trunk/openvas-server/openvasd/oval_plugins.c 2008-10-01 14:07:21 UTC (rev 1478)
+++ trunk/openvas-server/openvasd/oval_plugins.c 2008-10-01 14:12:13 UTC (rev 1479)
@@ -187,12 +187,7 @@
args = emalloc(sizeof(struct arglist));
- // NOTE: Due to the way OIDs/IDs are assigned right now, this does lead to
- // an incorrect OID being set and reported to the client. This is due to
- // restrictions in NTP and will likely change once the switch to OTP is
- // complete.
plug_set_oid(args, oid);
- plug_set_id(args, (int)id); // <- Overwrites OID with Legacy OID
plug_set_version(args, version);
plug_set_name(args, title, NULL);
More information about the Openvas-commits
mailing list