mirror of
https://github.com/vincentmli/bpfire.git
synced 2026-04-26 19:00:34 +02:00
unbound: Update to 1.6.4
Hi, ("...back in town...") ;-)
For details see:
http://www.unbound.net/download.html
I had to remove the patch file: it wouldn't apply.
Best,
Matthias
Signed-off-by: Matthias Fischer <matthias.fischer@ipfire.org>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
This commit is contained in:
committed by
Michael Tremer
parent
5e2daa7876
commit
41d06f42b7
@@ -1,43 +0,0 @@
|
||||
diff --git a/validator/validator.c b/validator/validator.c
|
||||
index 676dcdf..7c19f3d 100644
|
||||
--- a/validator/validator.c
|
||||
+++ b/validator/validator.c
|
||||
@@ -113,7 +113,7 @@ val_apply_cfg(struct module_env* env, struct val_env* val_env,
|
||||
int c;
|
||||
val_env->bogus_ttl = (uint32_t)cfg->bogus_ttl;
|
||||
val_env->clean_additional = cfg->val_clean_additional;
|
||||
- val_env->permissive_mode = cfg->val_permissive_mode;
|
||||
+ val_env->permissive_mode = &cfg->val_permissive_mode;
|
||||
if(!env->anchors)
|
||||
env->anchors = anchors_create();
|
||||
if(!env->anchors) {
|
||||
@@ -170,7 +170,6 @@ val_init(struct module_env* env, int id)
|
||||
}
|
||||
env->modinfo[id] = (void*)val_env;
|
||||
env->need_to_validate = 1;
|
||||
- val_env->permissive_mode = 0;
|
||||
lock_basic_init(&val_env->bogus_lock);
|
||||
lock_protect(&val_env->bogus_lock, &val_env->num_rrset_bogus,
|
||||
sizeof(val_env->num_rrset_bogus));
|
||||
@@ -2084,7 +2083,7 @@ processFinished(struct module_qstate* qstate, struct val_qstate* vq,
|
||||
}
|
||||
}
|
||||
/* If we are in permissive mode, bogus gets indeterminate */
|
||||
- if(ve->permissive_mode)
|
||||
+ if(*ve->permissive_mode)
|
||||
vq->orig_msg->rep->security = sec_status_indeterminate;
|
||||
}
|
||||
|
||||
diff --git a/validator/validator.h b/validator/validator.h
|
||||
index 23d3072..f8464b8 100644
|
||||
--- a/validator/validator.h
|
||||
+++ b/validator/validator.h
|
||||
@@ -104,7 +104,7 @@ struct val_env {
|
||||
* This allows an operator to run validation 'shadow' without
|
||||
* hurting responses to clients.
|
||||
*/
|
||||
- int permissive_mode;
|
||||
+ int* permissive_mode;
|
||||
|
||||
/**
|
||||
* Number of entries in the NSEC3 maximum iteration count table.
|
||||
Reference in New Issue
Block a user