summaryrefslogtreecommitdiff
path: root/services/modstack.c
diff options
context:
space:
mode:
Diffstat (limited to 'services/modstack.c')
-rw-r--r--services/modstack.c9
1 files changed, 9 insertions, 0 deletions
diff --git a/services/modstack.c b/services/modstack.c
index 05b949d1e330d..68e5928146dd5 100644
--- a/services/modstack.c
+++ b/services/modstack.c
@@ -60,6 +60,9 @@
#ifdef CLIENT_SUBNET
#include "edns-subnet/subnetmod.h"
#endif
+#ifdef USE_IPSET
+#include "ipset/ipset.h"
+#endif
/** count number of modules (words) in the string */
static int
@@ -146,6 +149,9 @@ module_list_avail(void)
#ifdef CLIENT_SUBNET
"subnetcache",
#endif
+#ifdef USE_IPSET
+ "ipset",
+#endif
"respip",
"validator",
"iterator",
@@ -174,6 +180,9 @@ module_funcs_avail(void)
#ifdef CLIENT_SUBNET
&subnetmod_get_funcblock,
#endif
+#ifdef USE_IPSET
+ &ipset_get_funcblock,
+#endif
&respip_get_funcblock,
&val_get_funcblock,
&iter_get_funcblock,