summaryrefslogtreecommitdiff
path: root/mail/exim3/patches/patch-ao
diff options
context:
space:
mode:
Diffstat (limited to 'mail/exim3/patches/patch-ao')
-rw-r--r--mail/exim3/patches/patch-ao13
1 files changed, 13 insertions, 0 deletions
diff --git a/mail/exim3/patches/patch-ao b/mail/exim3/patches/patch-ao
new file mode 100644
index 00000000000..95e6d0e8247
--- /dev/null
+++ b/mail/exim3/patches/patch-ao
@@ -0,0 +1,13 @@
+$NetBSD: patch-ao,v 1.1.2.2 2006/03/11 04:10:27 snj Exp $
+
+--- src/lookups/dnsdb.c.orig 2006-02-14 16:38:38.000000000 +0100
++++ src/lookups/dnsdb.c
+@@ -116,7 +116,7 @@ if (equals != NULL)
+ /* If the type is PTR, we have to construct the relevant magic lookup
+ key. */
+
+-if (type == T_PTR)
++if (type == T_PTR && string_is_ip_address(keystring, NULL))
+ {
+ char *p = keystring + (int)strlen(keystring);
+ char *pp = buffer;