mirror of
https://github.com/NLnetLabs/unbound.git
synced 2026-10-01 22:24:55 +02:00
rpz: update ext_state in the iterator
This commit is contained in:
@@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
+2
-2
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user