tony2001 Tue Jun 26 11:03:42 2007 UTC
Modified files:
/php-src/ext/standard dns.c
Log:
fix #41795 (checkdnsrr does not support DNS_TXT type)
http://cvs.php.net/viewvc.cgi/php-src/ext/standard/dns.c?r1=1.85&r2=1.86&diff_format=u
Index: php-src/ext/standard/dns.c
diff -u php-src/ext/standard/dns.c:1.85 php-src/ext/standard/dns.c:1.86
--- php-src/ext/standard/dns.c:1.85 Mon May 14 14:38:29 2007
+++ php-src/ext/standard/dns.c Tue Jun 26 11:03:42 2007
@@ -18,7 +18,7 @@
+----------------------------------------------------------------------+
*/
-/* $Id: dns.c,v 1.85 2007/05/14 14:38:29 scottmac Exp $ */
+/* $Id: dns.c,v 1.86 2007/06/26 11:03:42 tony2001 Exp $ */
/* {{{ includes */
#include "php.h"
@@ -276,6 +276,7 @@
else if (!strcasecmp("PTR", rectype)) type = DNS_T_PTR;
else if (!strcasecmp("ANY", rectype)) type = DNS_T_ANY;
else if (!strcasecmp("SOA", rectype)) type = DNS_T_SOA;
+ else if (!strcasecmp("TXT", rectype)) type = DNS_T_TXT;
else if (!strcasecmp("CNAME", rectype)) type = DNS_T_CNAME;
else if (!strcasecmp("AAAA", rectype)) type = DNS_T_AAAA;
else if (!strcasecmp("SRV", rectype)) type = DNS_T_SRV;
--
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php