Commit a43d8d0e authored by JINMEI Tatuya's avatar JINMEI Tatuya
Browse files

[trac505] indentation fixes

parent 49508724
......@@ -173,10 +173,10 @@ Query::process() const {
dname.getDname().getLength() > Name::MAX_WIRE ||
prefix.getLabelCount() - Name(".").getLabelCount() +
dname.getDname().getLabelCount() > Name::MAX_LABELS) {
/*
* In case the synthetized name is too long, section 4.1 of RFC
* 2672 mandates we return YXDOMAIN.
*/
/*
* In case the synthesized name is too long, section 4.1
* of RFC 2672 mandates we return YXDOMAIN.
*/
response_.setRcode(Rcode::YXDOMAIN());
return;
}
......@@ -184,7 +184,7 @@ Query::process() const {
// with DNSSEC, the DNAME is signed and it can be validated
// by that)
RRsetPtr cname(new RRset(qname_, db_result.rrset->getClass(),
RRType::CNAME(), db_result.rrset->getTTL()));
RRType::CNAME(), db_result.rrset->getTTL()));
// Construct the new target by replacing the end
cname->addRdata(rdata::generic::CNAME(qname_.split(0,
qname_.getLabelCount() -
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment