From da6f584c3a7d433f77645316a8e05cf358180eff Mon Sep 17 00:00:00 2001 From: Juan Jose Nicola Date: Tue, 5 Sep 2023 16:16:08 +0200 Subject: [PATCH] Fix: send the rigth command to ospd --- rust/openvasd/src/scan.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rust/openvasd/src/scan.rs b/rust/openvasd/src/scan.rs index 8d636ae250..d0cf1d7515 100644 --- a/rust/openvasd/src/scan.rs +++ b/rust/openvasd/src/scan.rs @@ -152,7 +152,7 @@ impl ScanDeleter for OSPDWrapper { { let rtimeout = self.r_timeout; self.spawn_blocking(move |socket| { - osp::get_delete_scan_results(socket, rtimeout, id) + osp::delete_scan(socket, rtimeout, id) .map(|_| ()) .map_err(Error::from) })