File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -3106,8 +3106,9 @@ static void check_chain_complete(chain_head *chain)
31063106 , context -> trust_anchors_len ));
31073107#endif
31083108#ifdef DNSSEC_ROADBLOCK_AVOIDANCE
3109- if ( dnsreq -> dnssec_roadblock_avoidance
3110- && dnsreq -> netreqs [0 ]-> dnssec_status == GETDNS_DNSSEC_BOGUS ) {
3109+ if ( dnsreq -> dnssec_roadblock_avoidance
3110+ && !dnsreq -> avoid_dnssec_roadblocks
3111+ && dnsreq -> netreqs [0 ]-> dnssec_status == GETDNS_DNSSEC_BOGUS ) {
31113112
31123113 getdns_return_t r = GETDNS_RETURN_GOOD ;
31133114 getdns_network_req * * netreq_p , * netreq ;
@@ -3119,7 +3120,8 @@ static void check_chain_complete(chain_head *chain)
31193120 ; netreq_p ++ ) {
31203121
31213122 netreq -> state = NET_REQ_NOT_SENT ;
3122- (void ) _getdns_submit_netreq (netreq );
3123+ netreq -> owner = dnsreq ;
3124+ r = _getdns_submit_netreq (netreq );
31233125 }
31243126 return ;
31253127 }
You can’t perform that action at this time.
0 commit comments