[rbldnsd] [PATCH] maxttl fix
Bradley Baetz
bradley.baetz at optusnet.com.au
Mon Mar 29 03:46:29 MSD 2004
The version of the maxttl patch which went into 0.992 has a condition
reversed. The attached patch is needed to make maxttl work.
Thanks,
Bradley
-------------- next part --------------
--- rbldnsd_util.c.orig Mon Mar 29 09:20:42 2004
+++ rbldnsd_util.c Mon Mar 29 09:20:53 2004
@@ -78,7 +78,7 @@
*ttlp = defttl;
else if (min_ttl && *ttlp < min_ttl)
*ttlp = min_ttl;
- else if (max_ttl && *ttlp < max_ttl)
+ else if (max_ttl && *ttlp > max_ttl)
*ttlp = max_ttl;
return s;
}
More information about the rbldnsd
mailing list