Parcourir la source

[trac1128] a couple of editorial fixes

JINMEI Tatuya il y a 13 ans
Parent
commit
4625b640b9
2 fichiers modifiés avec 3 ajouts et 4 suppressions
  1. 1 1
      src/lib/dns/rdata/in_1/srv_33.cc
  2. 2 3
      src/lib/dns/rdata/in_1/srv_33.h

+ 1 - 1
src/lib/dns/rdata/in_1/srv_33.cc

@@ -128,7 +128,7 @@ SRV::SRV(const string& srv_str) :
 ///
 /// According to RFC2782, the Target field must be a non compressed form
 /// of domain name.  But this implementation accepts a %SRV RR even if that
-/// field is compressed.
+/// field is compressed as suggested in RFC3597.
 ///
 /// \param buffer A buffer storing the wire format data.
 /// \param rdata_len The length of the RDATA in bytes, normally expected

+ 2 - 3
src/lib/dns/rdata/in_1/srv_33.h

@@ -26,15 +26,14 @@
 
 // BEGIN_RDATA_NAMESPACE
 
+struct SRVImpl;
+
 /// \brief \c rdata::SRV class represents the SRV RDATA as defined %in
 /// RFC2782.
 ///
 /// This class implements the basic interfaces inherited from the abstract
 /// \c rdata::Rdata class, and provides trivial accessors specific to the
 /// SRV RDATA.
-
-struct SRVImpl;
-
 class SRV : public Rdata {
 public:
     // BEGIN_COMMON_MEMBERS