Skip to content

Commit

Permalink
fix: reset dedicated resolvers for next query
Browse files Browse the repository at this point in the history
  • Loading branch information
infosec-it-init authored and blechschmidt committed Mar 20, 2022
1 parent a5a1766 commit 2421ffc
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/main.c
Original file line number Diff line number Diff line change
Expand Up @@ -1093,6 +1093,7 @@ void can_send()
while (hashmapSize(context.map) < min(context.cmd_args.hashmap_size, concurrency_state.current_concurrency)
&& context.state <= STATE_QUERYING)
{
dedicated_resolvers = NULL;
if(!next_query(&qname, &dedicated_resolvers, &rtype))
{
if(hashmapSize(context.map) <= 0)
Expand Down

0 comments on commit 2421ffc

Please # to comment.