Skip to content

Commit 54c02d7

Browse files
author
zoidex
committed
fixed up resolver
1 parent f4312ab commit 54c02d7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/resolver/mod.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ pub async fn run_resolver(
7070
let out = outdir.as_str().clone();
7171

7272
// probe for open ports and perform dns resolution
73-
if ports.is_empty() && !vhost && show_unresolved {
73+
if ports.is_empty() && !vhost || show_unresolved {
7474
// Check if the flag 'show_unresolved' is true
7575
if show_unresolved {
7676
// Try to lookup the IP address for the 'job_host' using the 'resolver' object

0 commit comments

Comments
 (0)