summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/src/spf.c9
1 files changed, 4 insertions, 5 deletions
diff --git a/src/src/spf.c b/src/src/spf.c
index fd9831c43..f120f722c 100644
--- a/src/src/spf.c
+++ b/src/src/spf.c
@@ -72,14 +72,13 @@ int dns_rc;
DEBUG(D_receive) debug_printf("SPF_dns_exim_lookup '%s'\n", domain);
-/* Shortcircuit SPF RR lookups by returning HOST_NOT_FOUND (shortest code path
-in libspf2). They were obsoleted by RFC 6686/7208 years ago. see bug #1294
-*/
+/* Shortcircuit SPF RR lookups by returning NO_DATA. They were obsoleted by
+RFC 6686/7208 years ago. see bug #1294 */
if (rr_type == T_SPF)
{
- HDEBUG(D_host_lookup) debug_printf("faking HOST_NOT_FOUND for SPF RR(99) lookup\n");
- srr.herrno = HOST_NOT_FOUND;
+ HDEBUG(D_host_lookup) debug_printf("faking NO_DATA for SPF RR(99) lookup\n");
+ srr.herrno = NO_DATA;
SPF_dns_rr_dup(&spfrr, &srr);
return spfrr;
}