Skip to content

Commit

Permalink
fix: display wrong info about scanned ports
Browse files Browse the repository at this point in the history
  • Loading branch information
joshmuente committed Sep 13, 2021
1 parent 2aa0f93 commit 53efb0c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main.rs
Expand Up @@ -117,7 +117,7 @@ fn main() {
}

drop(pool);
loader.info(format!("Finished scanning {} ports.", { opts.to_port }));
loader.info(format!("Finished scanning {} ports.", { opts.to_port - opts.from_port+1 }));
loader.end();
thread::sleep(time::Duration::from_millis(10));
std::process::exit(exitcode::OK);
Expand Down

0 comments on commit 53efb0c

Please sign in to comment.