From 5d484d9c3799f12dfced7c235346af1fb48e2c60 Mon Sep 17 00:00:00 2001 From: Jan-Oliver Wagner Date: Sun, 1 Dec 2019 15:53:12 +0100 Subject: [PATCH] get_info nvt: Don't add solution elements to tags. Since the solution and solution_type are now in a element of its own, we do not need them in the tags element of the nvt for the get_info response. This change should be merged after GSA parses the solution and solution_type properly from the new elemnt for the get_info command. --- src/manage.c | 19 ------------------- 1 file changed, 19 deletions(-) diff --git a/src/manage.c b/src/manage.c index 11a1d6bcd4..da8ea5c84d 100644 --- a/src/manage.c +++ b/src/manage.c @@ -7756,25 +7756,6 @@ get_nvti_xml (iterator_t *nvts, int details, int pref_count, xml_string_append (nvt_tags, "impact=%s", nvt_iterator_impact (nvts)); } - if (nvt_iterator_solution (nvts) && nvt_iterator_solution (nvts)[0]) - { - if (nvt_tags->str) - xml_string_append (nvt_tags, "|solution=%s", - nvt_iterator_solution (nvts)); - else - xml_string_append (nvt_tags, "solution=%s", - nvt_iterator_solution (nvts)); - } - if (nvt_iterator_solution_type (nvts) - && nvt_iterator_solution_type (nvts)[0]) - { - if (nvt_tags->str) - xml_string_append (nvt_tags, "|solution_type=%s", - nvt_iterator_solution_type (nvts)); - else - xml_string_append (nvt_tags, "solution_type=%s", - nvt_iterator_solution_type (nvts)); - } if (nvt_iterator_detection (nvts) && nvt_iterator_detection (nvts)[0]) { if (nvt_tags->str)