Committer  : entrope
CVSROOT    : /cvsroot/undernet-ircu
Module     : ircu2.10
Commit time: 2005-11-13 02:05:46 UTC

Modified files:
     ChangeLog doc/readme.cvs ircd/ircd_res.c

Log message:

Allow a (single) CNAME follow when doing A and AAAA lookups.

---------------------- diff included ----------------------
Index: ircu2.10/ChangeLog
diff -u ircu2.10/ChangeLog:1.734 ircu2.10/ChangeLog:1.735
--- ircu2.10/ChangeLog:1.734    Wed Nov  9 04:42:28 2005
+++ ircu2.10/ChangeLog  Sat Nov 12 18:05:35 2005
@@ -1,3 +1,11 @@
+2005-11-11  Michael Poole <[EMAIL PROTECTED]>
+
+       * doc/readme.cvs: Document tag name consistently with the release
+       name.
+
+       * ircd/ircd_res.c (proc_answer): Follow CNAME when doing A
+       and AAAA lookups as well as PTR.
+
 2005-11-07  Michael Poole <[EMAIL PROTECTED]>
 
        * ircd/channel.c (mode_parse_client): Allow clients to specify
Index: ircu2.10/doc/readme.cvs
diff -u ircu2.10/doc/readme.cvs:1.3 ircu2.10/doc/readme.cvs:1.4
--- ircu2.10/doc/readme.cvs:1.3 Wed Sep 14 18:17:02 2005
+++ ircu2.10/doc/readme.cvs     Sat Nov 12 18:05:35 2005
@@ -23,7 +23,7 @@
 release (ircu2.10.12) would be permanently tagged as u2_10_12_0, and
 until an update is released, it would also have the tag u2_10_12.
 When the first update is released, it would be permanently tagged as
-u2_10_12_1, and the tag u2_10_12 would be changed to point to it.
+u2_10_12_01, and the tag u2_10_12 would be changed to point to it.
 
 If the current stable series is 2.10.12, server admins should check
 out the code using the command:
Index: ircu2.10/ircd/ircd_res.c
diff -u ircu2.10/ircd/ircd_res.c:1.24 ircu2.10/ircd/ircd_res.c:1.25
--- ircu2.10/ircd/ircd_res.c:1.24       Mon Oct 17 10:16:56 2005
+++ ircu2.10/ircd/ircd_res.c    Sat Nov 12 18:05:35 2005
@@ -18,7 +18,7 @@
  */
 /** @file
  * @brief IRC resolver functions.
- * @version $Id: ircd_res.c,v 1.24 2005/10/17 17:16:56 decampos Exp $
+ * @version $Id: ircd_res.c,v 1.25 2005/11/13 02:05:35 entrope Exp $
  */
 
 #include "client.h"
@@ -706,9 +706,6 @@
         break;
       case T_CNAME: /* first check we already haven't started looking
                        into a cname */
-        if (request->type != T_PTR)
-          return(0);
-
         if (request->state == REQ_CNAME)
         {
           n = irc_dn_expand((unsigned char *)buf, (unsigned char *)eob,
----------------------- End of diff -----------------------
_______________________________________________
Patches mailing list
[email protected]
http://undernet.sbg.org/mailman/listinfo/patches

Reply via email to