summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorPhilip Hazel <ph10@hermes.cam.ac.uk>2005-06-29 10:56:35 +0000
committerPhilip Hazel <ph10@hermes.cam.ac.uk>2005-06-29 10:56:35 +0000
commit885ccd3e0a1d03cd3139fba86edb62dc11617810 (patch)
tree7339e5f82d01526900d3cf51bfa81a9a97a696b4 /src
parenta388bce4d941f993cd964d3821e2a38e11a22ee5 (diff)
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.
Diffstat (limited to 'src')
-rw-r--r--src/src/dns.c6
-rw-r--r--src/src/exim.h6
2 files changed, 9 insertions, 3 deletions
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