BIND 10 trac2268, updated. c1ce5449aa72d538cbfca94f88cda0b8617081ba [2268] Add any attached RRSIGs when loading from an iterator
BIND 10 source code commits
bind10-changes at lists.isc.org
Fri Oct 12 02:53:48 UTC 2012
The branch, trac2268 has been updated
via c1ce5449aa72d538cbfca94f88cda0b8617081ba (commit)
from eb84acab80c1a4f59f7c49ef5214279358e8ed79 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
commit c1ce5449aa72d538cbfca94f88cda0b8617081ba
Author: Mukund Sivaraman <muks at isc.org>
Date: Fri Oct 12 08:21:09 2012 +0530
[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.
-----------------------------------------------------------------------
Summary of changes:
src/lib/datasrc/memory/zone_data_updater.cc | 4 ++++
1 file changed, 4 insertions(+)
-----------------------------------------------------------------------
diff --git a/src/lib/datasrc/memory/zone_data_updater.cc b/src/lib/datasrc/memory/zone_data_updater.cc
index 3404fea..fd30fba 100644
--- a/src/lib/datasrc/memory/zone_data_updater.cc
+++ b/src/lib/datasrc/memory/zone_data_updater.cc
@@ -366,6 +366,10 @@ ZoneDataLoader::addFromLoad(const ConstRRsetPtr& rrset) {
<< (is_rrsig ? " RRSIG" : "") << " RRset: "
<< rrset->getName() << "/" << rrtype);
}
+
+ if (rrset->getRRsig()) {
+ addFromLoad(rrset->getRRsig());
+ }
}
void
More information about the bind10-changes
mailing list