Skip to content

Commit

Permalink
Review findings
Browse files Browse the repository at this point in the history
  • Loading branch information
nichtsfrei committed Jul 23, 2024
1 parent 7b78eeb commit c73de8f
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions rust/nasl-builtin-std/src/report_functions.rs
Original file line number Diff line number Diff line change
Expand Up @@ -42,12 +42,11 @@ impl Reporting {
Some("udp") => Protocol::UDP,
_ => Protocol::TCP,
};
// TOO: enhance id
let result = models::Result {
id: self.id(),
r_type: typus,
ip_address: Some(context.target().to_string()),
// TODO:
// TODO: where to get hostname? is it only vhost relevant?
hostname: None,
oid: Some(context.key().value()),
port,
Expand Down

0 comments on commit c73de8f

Please sign in to comment.