rpz: update ext_state in the iterator

This commit is contained in:
mb 2020-11-24 11:33:16 +01:00
parent 126e114d6f
commit b178cf34b6
2 changed files with 3 additions and 2 deletions

View file

@ -2476,6 +2476,7 @@ processQueryTargets(struct module_qstate* qstate, struct iter_qstate* iq,
if(forged_response != NULL) {
iq->response = forged_response;
next_state(iq, FINISHED_STATE);
qstate->ext_state[id] = module_finished;
return 0;
}
}

View file

@ -1448,7 +1448,7 @@ rpz_patch_nodata(struct rpz* r, struct module_qstate* ms)
0, //an
0, //ns
0, //ar
1, //total
0, //total
sec_status_secure);
return msg;
}
@ -1468,7 +1468,7 @@ rpz_patch_nxdomain(struct rpz* r, struct module_qstate* ms)
0, //an
0, //ns
0, //ar
1, //total
0, //total
sec_status_secure);
return msg;
}