]> git.ipfire.org Git - thirdparty/kea.git/commitdiff
[2391] add afsdb to gen-rdatacode.py.in
authorPaul Selkirk <pselkirk@isc.org>
Mon, 25 Mar 2013 19:11:20 +0000 (15:11 -0400)
committerPaul Selkirk <pselkirk@isc.org>
Mon, 25 Mar 2013 19:11:20 +0000 (15:11 -0400)
Also fix typos in afsdb_18.cc doxygen comments.

src/lib/dns/gen-rdatacode.py.in
src/lib/dns/rdata/generic/afsdb_18.cc

index d0a2576ecc8958cad257ff6a46c1b01032d8a207..0d946b9b6d6c9a53a782778ca266a037584a7d1b 100755 (executable)
@@ -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'),
index f76dc7ad33d1d1e8d659f54da15fdd7391ac37eb..cf6a35cc5af9874ef90e40ebff810ea1e33ed80b 100644 (file)
@@ -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&) :