From: Philip Hazel Date: Wed, 29 Jun 2005 10:56:35 +0000 (+0000) Subject: Forgot T_SOA when adding the backup T_xxx definitions. Also, T_SOA was X-Git-Tag: exim-4_52~9 X-Git-Url: https://git.exim.org/users/heiko/exim.git/commitdiff_plain/885ccd3e0a1d03cd3139fba86edb62dc11617810 Forgot T_SOA when adding the backup T_xxx definitions. Also, T_SOA was omitted in the list that turns numbers into strings for printing. --- diff --git a/src/src/dns.c b/src/src/dns.c index f322fafca..882e0f316 100644 --- a/src/src/dns.c +++ b/src/src/dns.c @@ -1,4 +1,4 @@ -/* $Cambridge: exim/src/src/dns.c,v 1.8 2005/06/10 13:38:06 tom Exp $ */ +/* $Cambridge: exim/src/src/dns.c,v 1.9 2005/06/29 10:56:35 ph10 Exp $ */ /************************************************* * Exim - an Internet mail transport agent * @@ -249,7 +249,8 @@ return &(dnss->srr); * Turn DNS type into text * *************************************************/ -/* Turn the coded record type into a string for printing. +/* Turn the coded record type into a string for printing. All those that Exim +uses should be included here. Argument: record type Returns: pointer to string @@ -266,6 +267,7 @@ switch(t) case T_A6: return US"A6"; case T_TXT: return US"TXT"; case T_PTR: return US"PTR"; + case T_SOA: return US"SOA"; case T_SRV: return US"SRV"; case T_NS: return US"NS"; case T_CNAME: return US"CNAME"; diff --git a/src/src/exim.h b/src/src/exim.h index 476473395..85571f62f 100644 --- a/src/src/exim.h +++ b/src/src/exim.h @@ -1,4 +1,4 @@ -/* $Cambridge: exim/src/src/exim.h,v 1.16 2005/06/27 10:52:20 ph10 Exp $ */ +/* $Cambridge: exim/src/src/exim.h,v 1.17 2005/06/29 10:56:35 ph10 Exp $ */ /************************************************* * Exim - an Internet mail transport agent * @@ -291,6 +291,10 @@ side, put in definitions for all the ones that Exim uses. */ #define T_CNAME 5 #endif +#ifndef T_SOA +#define T_SOA 6 +#endif + #ifndef T_MX #define T_MX 15 #endif