Commit e1ed220b authored by Mukund Sivaraman's avatar Mukund Sivaraman
Browse files

[2390] Add PTR implementation

parent adb9e821
......@@ -36,6 +36,7 @@ new_rdata_factory_users = [('aaaa', 'in'),
('hinfo', 'generic'),
('naptr', 'generic'),
('mx', 'generic'),
('ptr', 'generic'),
('soa', 'generic'),
('spf', 'generic'),
('txt', 'generic')
......
......@@ -39,6 +39,11 @@ PTR::PTR(InputBuffer& buffer, size_t) :
// check consistency.
}
PTR::PTR(MasterLexer& lexer, const Name*, MasterLoader::Options,
MasterLoaderCallbacks&) :
ptr_name_(lexer.getNextToken(MasterToken::QSTRING).getString())
{}
PTR::PTR(const PTR& source) :
Rdata(), ptr_name_(source.ptr_name_)
{}
......
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