Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove parallel from target options #347

Merged
merged 1 commit into from
Jun 8, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,9 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/).
- Fix is_cidr6_block() and is_short_range_network(). [#337](https://github.com/greenbone/gvm-libs/pull/337)
- Fix S/MIME keylist and improve error handling [#345](https://github.com/greenbone/gvm-libs/pull/345)

### Removed
- Remove parallel from target options [#347](https://github.com/greenbone/gvm-libs/pull/347)

[20.8]: https://github.com/greenbone/gvm-libs/compare/gvm-libs-11.0...master

## [11.0.1] (unreleased)
Expand Down
2 changes: 0 additions & 2 deletions osp/osp.c
Original file line number Diff line number Diff line change
Expand Up @@ -965,8 +965,6 @@ osp_start_scan_ext (osp_connection_t *connection, osp_start_scan_opts_t opts,

xml = g_string_sized_new (10240);
g_string_append (xml, "<start_scan");
if (opts.parallel)
xml_string_append (xml, " parallel=\"%d\"", opts.parallel);
xml_string_append (xml, " scan_id=\"%s\">", opts.scan_id ? opts.scan_id : "");

g_string_append (xml, "<targets>");
Expand Down
1 change: 0 additions & 1 deletion osp/osp.h
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,6 @@ typedef struct
GSList *vt_groups; ///< VT groups to use for the scan.
GSList *vts; ///< Single VTs to use for the scan.
GHashTable *scanner_params; ///< Table of scanner parameters.
int parallel; ///< Number of parallel scans.
const char *scan_id; ///< UUID to set for scan, null otherwise.
} osp_start_scan_opts_t;

Expand Down