From 80a1c9d6f32f7fd7f79faf1346e7b1d51d789d38 Mon Sep 17 00:00:00 2001 From: Matt Mundell Date: Thu, 27 Jun 2019 18:14:40 +0200 Subject: [PATCH] Update configs after OSP NVT update --- src/manage_sql_nvts.c | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/manage_sql_nvts.c b/src/manage_sql_nvts.c index 0be463cd5..51616c9f3 100644 --- a/src/manage_sql_nvts.c +++ b/src/manage_sql_nvts.c @@ -1398,6 +1398,12 @@ update_nvts_from_vts (entity_t *get_vts_response, set_nvts_feed_version (scanner_feed_version); + if (check_config_families ()) + g_warning ("%s: Error updating config families." + " One or more configs refer to an outdated family of an NVT.", + __FUNCTION__); + update_all_config_caches (); + sql_commit (); }