Commit 47ace28c authored by Jelte Jansen's avatar Jelte Jansen
Browse files

fixed scoping bug introduced by merge in static data source


git-svn-id: svn://bind10.isc.org/svn/bind10/branches/parkinglot@692 e5f2f494-b856-4b98-b285-d166d9295462
parent c2f9d85d
......@@ -21,7 +21,7 @@ using namespace isc::dns::rdata;
StaticDataSrc::StaticDataSrc() : authors_name("authors.bind"),
version_name("version.bind")
{
RRsetPtr authors = RRsetPtr(new RRset(authors_name, RRClass::CH(),
authors = RRsetPtr(new RRset(authors_name, RRClass::CH(),
RRType::TXT(), RRTTL(3600)));
authors->addRdata(generic::TXT("Evan Hunt"));
authors->addRdata(generic::TXT("Han Feng"));
......@@ -35,7 +35,7 @@ StaticDataSrc::StaticDataSrc() : authors_name("authors.bind"),
authors->addRdata(generic::TXT("Shane Kerr"));
authors->addRdata(generic::TXT("Zhang Likun"));
RRsetPtr version = RRsetPtr(new RRset(version_name, RRClass::CH(),
version = RRsetPtr(new RRset(version_name, RRClass::CH(),
RRType::TXT(), RRTTL(3600)));
version->addRdata(generic::TXT("BIND10 0.0.0 (pre-alpha)"));
}
......
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