BIND 10 trac2391, updated. 1450d8d486cba3bee8be46e8001d66898edd370c [2391] add afsdb to gen-rdatacode.py.in Also fix typos in afsdb_18.cc doxygen comments.

BIND 10 source code commits bind10-changes at lists.isc.org
Mon Mar 25 19:11:28 UTC 2013


The branch, trac2391 has been updated
       via  1450d8d486cba3bee8be46e8001d66898edd370c (commit)
      from  9a551ccda02b841bf296ecbce5c0bbf04721024a (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit 1450d8d486cba3bee8be46e8001d66898edd370c
Author: Paul Selkirk <pselkirk at isc.org>
Date:   Mon Mar 25 15:11:20 2013 -0400

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

-----------------------------------------------------------------------

Summary of changes:
 src/lib/dns/gen-rdatacode.py.in       |    1 +
 src/lib/dns/rdata/generic/afsdb_18.cc |    6 +++---
 2 files changed, 4 insertions(+), 3 deletions(-)

-----------------------------------------------------------------------
diff --git a/src/lib/dns/gen-rdatacode.py.in b/src/lib/dns/gen-rdatacode.py.in
index d0a2576..0d946b9 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 f76dc7a..cf6a35c 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&) :



More information about the bind10-changes mailing list