pullup: cut-and-paste-o: dns_message_findname() tested for

dns_rdatatype_cname twice instead of cname+dname
This commit is contained in:
Andreas Gustafsson
2000-07-03 17:20:43 +00:00
parent f9fbfe69c0
commit 545532bec5
+2 -2
View File
@@ -15,7 +15,7 @@
* SOFTWARE.
*/
/* $Id: message.c,v 1.131.2.1 2000/06/29 20:54:43 bwelling Exp $ */
/* $Id: message.c,v 1.131.2.2 2000/07/03 17:20:43 gson Exp $ */
/***
*** Imports
@@ -2035,7 +2035,7 @@ dns_message_findname(dns_message_t *msg, dns_section_t section,
attributes = 0;
if (atype == dns_rdatatype_cname)
attributes = DNS_NAMEATTR_CNAME;
else if (atype == dns_rdatatype_cname)
else if (atype == dns_rdatatype_dname)
attributes = DNS_NAMEATTR_DNAME;
/*