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

Use params_value instead of params_value_bool for allow_simultaneous_ips #2813

Merged
merged 2 commits into from
Mar 23, 2021
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
4 changes: 3 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,9 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/).

### Added
- Added CVSS date to NVT details [#2802](https://github.com/greenbone/gsa/pull/2802)
- Add option to allow to scan simultaneous IPs to targets [#2779](https://github.com/greenbone/gsa/pull/2779)
- Add option to allow to scan simultaneous IPs to targets
[#2779](https://github.com/greenbone/gsa/pull/2779),
[#2813](https://github.com/greenbone/gsa/pull/2813)
- Added CVSS origin to NVT details [#2588](https://github.com/greenbone/gsa/pull/2588)
- Added the CVSS v3.1 BaseScore calculator to the `/cvsscalculator` page in the Help section. [#2536](https://github.com/greenbone/gsa/pull/2536)

Expand Down
4 changes: 2 additions & 2 deletions gsad/src/gsad_gmp.c
Original file line number Diff line number Diff line change
Expand Up @@ -5313,7 +5313,7 @@ create_target_gmp (gvm_connection_t *connection, credentials_t *credentials,
hosts_filter = params_value (params, "hosts_filter");
file = params_value (params, "file");
exclude_file = params_value (params, "exclude_file");
allow_simultaneous_ips = params_value_bool (params, "allow_simultaneous_ips");
allow_simultaneous_ips = params_value (params, "allow_simultaneous_ips");

CHECK_VARIABLE_INVALID (name, "Create Target");
CHECK_VARIABLE_INVALID (target_source, "Create Target")
Expand Down Expand Up @@ -6284,7 +6284,7 @@ save_target_gmp (gvm_connection_t *connection, credentials_t *credentials,
target_smb_credential = params_value (params, "smb_credential_id");
target_esxi_credential = params_value (params, "esxi_credential_id");
target_snmp_credential = params_value (params, "snmp_credential_id");
allow_simultaneous_ips = params_value_bool (params, "allow_simultaneous_ips");
allow_simultaneous_ips = params_value (params, "allow_simultaneous_ips");

CHECK_VARIABLE_INVALID (target_source, "Save Target");
CHECK_VARIABLE_INVALID (target_exclude_source, "Save Target");
Expand Down