Skip to content

Commit

Permalink
Merge pull request #626 from mattmundell/osp-nvt-update-configs
Browse files Browse the repository at this point in the history
Update configs after OSP NVT update
  • Loading branch information
timopollmeier authored Jun 28, 2019
2 parents 8bd8e08 + 955cab0 commit 8060262
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/manage_sql_nvts.c
Original file line number Diff line number Diff line change
Expand Up @@ -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 ();
}

Expand Down

0 comments on commit 8060262

Please sign in to comment.