diff --git a/CHANGELOG.md b/CHANGELOG.md index e857aafe3..c9b66c8f9 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -17,7 +17,9 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/). - Add unit tests for networking.c port list functions. [#325](https://github.com/greenbone/gvm-libs/pull/325) - Add gmp_start_task_ext_c. [#327](https://github.com/greenbone/gvm-libs/pull/327) - Make log mutex visible. [#328](https://github.com/greenbone/gvm-libs/pull/328) -- Add new scan status PENDING. [#336](https://github.com/greenbone/gvm-libs/pull/336) +- Add new scan status QUEUED. + [#336](https://github.com/greenbone/gvm-libs/pull/336) + [#340](https://github.com/greenbone/gvm-libs/pull/340) - Add gvm_routethrough which is used by Boreas alive detection module. [#339](https://github.com/greenbone/gvm-libs/pull/339) ### Fixed diff --git a/osp/osp.c b/osp/osp.c index 441b794eb..0ec670d48 100644 --- a/osp/osp.c +++ b/osp/osp.c @@ -572,8 +572,8 @@ osp_get_scan_status_ext (osp_connection_t *connection, return status; } - if (!strcmp (entity_attribute (child, "status"), "pending")) - status = OSP_SCAN_STATUS_PENDING; + if (!strcmp (entity_attribute (child, "status"), "queued")) + status = OSP_SCAN_STATUS_QUEUED; else if (!strcmp (entity_attribute (child, "status"), "init")) status = OSP_SCAN_STATUS_INIT; else if (!strcmp (entity_attribute (child, "status"), "running")) diff --git a/osp/osp.h b/osp/osp.h index 566b8941c..f68713671 100644 --- a/osp/osp.h +++ b/osp/osp.h @@ -65,7 +65,7 @@ typedef enum OSP_SCAN_STATUS_RUNNING, /**< Running status. */ OSP_SCAN_STATUS_STOPPED, /**< Stopped status. */ OSP_SCAN_STATUS_FINISHED, /**< Finished status. */ - OSP_SCAN_STATUS_PENDING, /**< Init pending. */ + OSP_SCAN_STATUS_QUEUED, /**< Queued status */ } osp_scan_status_t;