summaryrefslogtreecommitdiff
path: root/sbin/unwind/libunbound/util/fptr_wlist.c
diff options
context:
space:
mode:
authorFlorian Obser <florian@cvs.openbsd.org>2020-03-23 08:37:29 +0000
committerFlorian Obser <florian@cvs.openbsd.org>2020-03-23 08:37:29 +0000
commit1db0d25be5673904bf4a9c8c3be0457fd6ca065b (patch)
tree23646da4bb0c235efa417b58fa90c3a8bba2acb6 /sbin/unwind/libunbound/util/fptr_wlist.c
parent12cbcfe1dbc55673a8029ec304eb96f98db3902d (diff)
Update to libunbound 1.10.0
Heavy lifting by sthen in unbound(8) Tested by benno and matthieu
Diffstat (limited to 'sbin/unwind/libunbound/util/fptr_wlist.c')
-rw-r--r--sbin/unwind/libunbound/util/fptr_wlist.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/sbin/unwind/libunbound/util/fptr_wlist.c b/sbin/unwind/libunbound/util/fptr_wlist.c
index f5da501de19..84d41cc8464 100644
--- a/sbin/unwind/libunbound/util/fptr_wlist.c
+++ b/sbin/unwind/libunbound/util/fptr_wlist.c
@@ -131,6 +131,7 @@ fptr_whitelist_comm_timer(void (*fptr)(void*))
else if(fptr == &auth_xfer_timer) return 1;
else if(fptr == &auth_xfer_probe_timer_callback) return 1;
else if(fptr == &auth_xfer_transfer_timer_callback) return 1;
+ else if(fptr == &mesh_serve_expired_callback) return 1;
return 0;
}
@@ -619,3 +620,9 @@ int fptr_whitelist_inplace_cb_query_response(
return 0;
}
+int fptr_whitelist_serve_expired_lookup(serve_expired_lookup_func_type* fptr)
+{
+ if(fptr == &mesh_serve_expired_lookup)
+ return 1;
+ return 0;
+}