summaryrefslogtreecommitdiffstats
path: root/server/resolv/async_resolv.c
diff options
context:
space:
mode:
Diffstat (limited to 'server/resolv/async_resolv.c')
-rw-r--r--server/resolv/async_resolv.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/server/resolv/async_resolv.c b/server/resolv/async_resolv.c
index afad4107b..f778d1f41 100644
--- a/server/resolv/async_resolv.c
+++ b/server/resolv/async_resolv.c
@@ -442,6 +442,11 @@ ares_gethostbyname_wakeup(struct tevent_req *subreq)
state->family, resolv_gethostbyname_done, req);
}
+/* SRV and TXT parsing is not used anywhere in the code yet, so we disable it
+ * for now
+ */
+#ifdef BUILD_TXT_SRV
+
/*
* A simple helper function that will take an array of struct ares_srv_reply that
* was allocated by malloc() in c-ares and copies it using talloc. The old one
@@ -820,3 +825,4 @@ ares_gettxt_wakeup(struct tevent_req *subreq)
ns_c_in, ns_t_txt, resolv_gettxt_done, req);
}
+#endif