BIND 10 trac2165, updated. 48d270ec92a48e59f76fd848c450049323cfbd6b tmp
BIND 10 source code commits
bind10-changes at lists.isc.org
Wed Sep 5 13:27:15 UTC 2012
The branch, trac2165 has been updated
via 48d270ec92a48e59f76fd848c450049323cfbd6b (commit)
via 4cbc97214ea0723f4b0b549451add5effadfcd96 (commit)
from 53ad3d38ff0c43869e575f840ecddde472acce77 (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 48d270ec92a48e59f76fd848c450049323cfbd6b
Author: Mukund Sivaraman <muks at isc.org>
Date: Mon Aug 13 20:56:47 2012 +0530
tmp
commit 4cbc97214ea0723f4b0b549451add5effadfcd96
Author: Mukund Sivaraman <muks at isc.org>
Date: Mon Aug 13 13:44:33 2012 +0530
[2165] Fix test data comments
-----------------------------------------------------------------------
Summary of changes:
src/lib/dns/rrset.cc | 8 ++++++++
src/lib/dns/tests/testdata/message_toWire1 | 2 +-
src/lib/dns/tests/testdata/message_toWire6 | 2 +-
3 files changed, 10 insertions(+), 2 deletions(-)
-----------------------------------------------------------------------
diff --git a/src/lib/dns/rrset.cc b/src/lib/dns/rrset.cc
index 3df626f..a1d5ef3 100644
--- a/src/lib/dns/rrset.cc
+++ b/src/lib/dns/rrset.cc
@@ -251,11 +251,19 @@ RRset::~RRset() {}
unsigned int
RRset::getSIGRdataCount() const {
+ std::cout << "---------------------------------------------------------" << std::endl;
if (rrsig_) {
+ std::cout << "RRSET:" << std::endl << toText() << std::endl;
+ std::cout << "SIGCOUNT=" << rrsig_->getRdataCount() << std::endl;
+ std::cout << "SIGRRSET=" << rrsig_->toText() << std::endl;
return (rrsig_->getRdataCount());
} else {
+ std::cout << "RRSET:" << std::endl << toText() << std::endl;
+ std::cout << "SIGCOUNT=0" << std::endl;
return (0);
}
+
+ std::cout << std::endl << std::endl;
}
unsigned int
diff --git a/src/lib/dns/tests/testdata/message_toWire1 b/src/lib/dns/tests/testdata/message_toWire1
index daeb85a..2ee7e10 100644
--- a/src/lib/dns/tests/testdata/message_toWire1
+++ b/src/lib/dns/tests/testdata/message_toWire1
@@ -6,7 +6,7 @@
# Question: test.example.com. IN A
# Answer:
# test.example.com. 3600 IN A 192.0.2.1
-# test.example.com. 7200 IN A 192.0.2.2
+# test.example.com. 3600 IN A 192.0.2.2
#
1035 8500
0001 0002 0000 0000
diff --git a/src/lib/dns/tests/testdata/message_toWire6 b/src/lib/dns/tests/testdata/message_toWire6
index 00185c9..f008b61 100644
--- a/src/lib/dns/tests/testdata/message_toWire6
+++ b/src/lib/dns/tests/testdata/message_toWire6
@@ -6,7 +6,7 @@
# Question: test.example.com. IN A
# Answer:
# test.example.com. 3600 IN A 192.0.2.1
-# test.example.com. 7200 IN A 192.0.2.2
+# test.example.com. 3600 IN A 192.0.2.2
#
75c1 8500
0001 0004 0000 0000
More information about the bind10-changes
mailing list