Browse code

Clarification comment

git-svn: trunk@3147

Nigel Horne authored on 2007/07/15 08:49:40
Showing 1 changed files
... ...
@@ -6099,7 +6099,7 @@ resolve(const char *host, table_t *t)
6099 6099
 		struct in_addr addr;
6100 6100
 
6101 6101
 		if((len = dn_expand(q.u, end, p, buf, sizeof(buf) - 1)) < 0)
6102
-			 return t;
6102
+			return t;
6103 6103
 		p += len;
6104 6104
 		GETSHORT(type, p);
6105 6105
 		p += INT16SZ;
... ...
@@ -6128,10 +6128,10 @@ resolve(const char *host, table_t *t)
6128 6128
 #ifdef	CL_EXPERIMENTAL
6129 6129
 /*
6130 6130
  * Validate SPF records to help to stop Phish false positives
6131
- * Currently only handles ip4 fields in the DNS record
6132
- * Having said that, we don't need a full SPF parser, only something to stop
6133
- *	Phish FPs
6134
- * TODO: a: include: mx: hostnames
6131
+ * Currently only handles ip4, a and mx fields in the DNS record
6132
+ * Having said that, this is NOT a replacement for spf-milter, it is NOT
6133
+ *	an SPF system, we ONLY use SPF records to reduce phish false positives
6134
+ * TODO: include: hostnames
6135 6135
  * TODO: IPv6
6136 6136
  */
6137 6137
 static void