2
0
mirror of https://gitlab.isc.org/isc-projects/kea synced 2025-08-31 05:55:28 +00:00

[2268] Add any attached RRSIGs when loading from an iterator

For example, the MemoryIterator returns TreeNodeRRsets which may have
attached RRSIGs.

This also fixes the failing unittest
MemoryClientTest.loadRRSIGsRdataMixedCoveredTypes.
This commit is contained in:
Mukund Sivaraman
2012-10-12 08:21:09 +05:30
parent eb84acab80
commit c1ce5449aa

View File

@@ -366,6 +366,10 @@ ZoneDataLoader::addFromLoad(const ConstRRsetPtr& rrset) {
<< (is_rrsig ? " RRSIG" : "") << " RRset: "
<< rrset->getName() << "/" << rrtype);
}
if (rrset->getRRsig()) {
addFromLoad(rrset->getRRsig());
}
}
void