Skip to content

Commit

Permalink
Fix: Choose correct scan launch function for OSP scans (Fix for #1705)
Browse files Browse the repository at this point in the history
  • Loading branch information
timopollmeier authored Oct 26, 2021
2 parents d58c3f0 + 8cee2a9 commit 3a97826
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/manage.c
Original file line number Diff line number Diff line change
Expand Up @@ -2909,7 +2909,7 @@ fork_osp_scan_handler (task_t task, target_t target, int from,
manage_session_init (current_credentials.uuid);

if (scanner_type (task_scanner (task)) == SCANNER_TYPE_OPENVAS
|| scanner_type (task_scanner (task) == SCANNER_TYPE_OSP_SENSOR))
|| scanner_type (task_scanner (task)) == SCANNER_TYPE_OSP_SENSOR)
{
rc = launch_osp_openvas_task (task, target, report_id, from, &error);
}
Expand Down

0 comments on commit 3a97826

Please sign in to comment.