From: Paul Selkirk Date: Mon, 25 Mar 2013 19:11:20 +0000 (-0400) Subject: [2391] add afsdb to gen-rdatacode.py.in X-Git-Tag: bind10-1.1.0beta1-release~22^2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1450d8d486cba3bee8be46e8001d66898edd370c;p=thirdparty%2Fkea.git [2391] add afsdb to gen-rdatacode.py.in Also fix typos in afsdb_18.cc doxygen comments. --- diff --git a/src/lib/dns/gen-rdatacode.py.in b/src/lib/dns/gen-rdatacode.py.in index d0a2576ecc..0d946b9b6d 100755 --- a/src/lib/dns/gen-rdatacode.py.in +++ b/src/lib/dns/gen-rdatacode.py.in @@ -33,6 +33,7 @@ import sys # Example: # new_rdata_factory_users = [('a', 'in'), ('a', 'ch'), ('soa', 'generic')] new_rdata_factory_users = [('a', 'in'), ('aaaa', 'in'), + ('afsdb', 'generic'), ('cname', 'generic'), ('dlv', 'generic'), ('dname', 'generic'), diff --git a/src/lib/dns/rdata/generic/afsdb_18.cc b/src/lib/dns/rdata/generic/afsdb_18.cc index f76dc7ad33..cf6a35cc5a 100644 --- a/src/lib/dns/rdata/generic/afsdb_18.cc +++ b/src/lib/dns/rdata/generic/afsdb_18.cc @@ -60,7 +60,7 @@ AFSDB::AFSDB(const std::string& afsdb_str) : MasterLexer lexer; lexer.pushSource(ss); - createFromLexer(lexer, NULL); + createFromLexer(lexer, NULL); if (lexer.getNextToken().getType() != MasterToken::END_OF_FILE) { isc_throw(InvalidRdataText, "extra input text for AFSDB: " @@ -75,7 +75,7 @@ AFSDB::AFSDB(const std::string& afsdb_str) : /// \brief Constructor with a context of MasterLexer. /// /// The \c lexer should point to the beginning of valid textual representation -/// of an AFSDB RDATA. The EXCHANGE field can be non-absolute if \c origin +/// of an AFSDB RDATA. The SERVER field can be non-absolute if \c origin /// is non-NULL, in which case \c origin is used to make it absolute. /// It must not be represented as a quoted string. /// @@ -88,7 +88,7 @@ AFSDB::AFSDB(const std::string& afsdb_str) : /// /// \param lexer A \c MasterLexer object parsing a master file for the /// RDATA to be created -/// \param origin If non NULL, specifies the origin of EXCHANGE when it +/// \param origin If non NULL, specifies the origin of SERVER when it /// is non-absolute. AFSDB::AFSDB(MasterLexer& lexer, const Name* origin, MasterLoader::Options, MasterLoaderCallbacks&) :