Parcourir la source

[2391] add afsdb to gen-rdatacode.py.in
Also fix typos in afsdb_18.cc doxygen comments.

Paul Selkirk il y a 12 ans
Parent
commit
1450d8d486
2 fichiers modifiés avec 4 ajouts et 3 suppressions
  1. 1 0
      src/lib/dns/gen-rdatacode.py.in
  2. 3 3
      src/lib/dns/rdata/generic/afsdb_18.cc

+ 1 - 0
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'),

+ 3 - 3
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&) :