pollita Fri Dec 20 13:34:57 2002 EDT
Modified files:
/php4/ext/standard dns.c
Log:
Minor clarification in meaning of bitmask constants
/* PHP_DNS_xx = 1<<(T_xx-1) */
T_CNAME = 5 ergo PHP_DNS_CNAME should be 0x00000010.
T_SOA = 6 ergo PHP_DNS_CNAME should be 0x00000020.
Index: php4/ext/standard/dns.c
diff -u php4/ext/standard/dns.c:1.50 php4/ext/standard/dns.c:1.51
--- php4/ext/standard/dns.c:1.50 Mon Dec 9 06:50:15 2002
+++ php4/ext/standard/dns.c Fri Dec 20 13:34:56 2002
@@ -18,7 +18,7 @@
+----------------------------------------------------------------------+
*/
-/* $Id: dns.c,v 1.50 2002/12/09 11:50:15 sniper Exp $ */
+/* $Id: dns.c,v 1.51 2002/12/20 18:34:56 pollita Exp $ */
/* {{{ includes */
#include "php.h"
@@ -269,8 +269,8 @@
/* PHP_DNS_xx = 1<<(T_xx-1) */
#define PHP_DNS_A 0x00000001
#define PHP_DNS_NS 0x00000002
-#define PHP_DNS_CNAME 0x00000020
-#define PHP_DNS_SOA 0x00000040
+#define PHP_DNS_CNAME 0x00000010
+#define PHP_DNS_SOA 0x00000020
#define PHP_DNS_PTR 0x00000800
#define PHP_DNS_HINFO 0x00001000
#define PHP_DNS_MX 0x00004000
--
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php