Skip to content

Commit

Permalink
Fix: initialize global_max_hosts and global_max_checks from config fi…
Browse files Browse the repository at this point in the history
…le (#1210)
  • Loading branch information
jjnicola authored Oct 18, 2022
1 parent e29c588 commit 2d53694
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/openvas.c
Original file line number Diff line number Diff line change
Expand Up @@ -420,6 +420,7 @@ attack_network_init (struct scan_globals *globals, const gchar *config_file)

set_default_openvas_prefs ();
prefs_config (config_file);
set_globals_from_preferences ();

if (prefs_get ("vendor_version") != NULL)
vendor_version_set (prefs_get ("vendor_version"));
Expand Down

0 comments on commit 2d53694

Please sign in to comment.