Skip to content

Commit

Permalink
#349 fixed the resolver setting bug
Browse files Browse the repository at this point in the history
  • Loading branch information
caffix committed Feb 14, 2020
1 parent 24bbdf7 commit 8c7eb0e
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion cmd/amass/enum.go
Original file line number Diff line number Diff line change
Expand Up @@ -579,7 +579,9 @@ func (e enumArgs) OverrideConfig(conf *config.Config) error {
if e.Timeout > 0 {
conf.Timeout = e.Timeout
}

if e.Resolvers.Len() > 0 {
conf.Resolvers = e.Resolvers.Slice()
}
if e.Options.PublicDNS {
conf.PublicDNS = true
}
Expand Down

0 comments on commit 8c7eb0e

Please sign in to comment.