aboutsummaryrefslogtreecommitdiff
path: root/contrib/unbound/util/fptr_wlist.c
diff options
context:
space:
mode:
Diffstat (limited to 'contrib/unbound/util/fptr_wlist.c')
-rw-r--r--contrib/unbound/util/fptr_wlist.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/contrib/unbound/util/fptr_wlist.c b/contrib/unbound/util/fptr_wlist.c
index dc8ab6693876..3b88da2358e5 100644
--- a/contrib/unbound/util/fptr_wlist.c
+++ b/contrib/unbound/util/fptr_wlist.c
@@ -659,6 +659,10 @@ int fptr_whitelist_inplace_cb_edns_back_parsed(
#else
(void)fptr;
#endif
+#ifdef WITH_PYTHONMODULE
+ if(fptr == &python_inplace_cb_edns_back_parsed_call)
+ return 1;
+#endif
#ifdef WITH_DYNLIBMODULE
if(fptr == &dynlib_inplace_cb_edns_back_parsed)
return 1;
@@ -675,6 +679,10 @@ int fptr_whitelist_inplace_cb_query_response(
#else
(void)fptr;
#endif
+#ifdef WITH_PYTHONMODULE
+ if(fptr == &python_inplace_cb_query_response)
+ return 1;
+#endif
#ifdef WITH_DYNLIBMODULE
if(fptr == &dynlib_inplace_cb_query_response)
return 1;