Browse Source

use RRsetList::findRRset() instead operator[] to avoid the implicit assumption
of the RR Class being IN.


git-svn-id: svn://bind10.isc.org/svn/bind10/trunk@1179 e5f2f494-b856-4b98-b285-d166d9295462

JINMEI Tatuya 15 years ago
parent
commit
7367b6b0b5
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/lib/auth/data_source_sqlite3.cc

+ 1 - 1
src/lib/auth/data_source_sqlite3.cc

@@ -145,7 +145,7 @@ importSqlite3Rows(sqlite3_stmt* query, const Name& qname, const RRClass& qclass,
             }
         }
 
-        RRsetPtr rrset = result_sets[base_rrtype];
+        RRsetPtr rrset = result_sets.findRRset(base_rrtype, qclass);
         if (rrset == NULL) {
             rrset = RRsetPtr(new RRset(qname, qclass, base_rrtype, RRTTL(ttl)));
             result_sets.addRRset(rrset);